Camera Recording App
<p>I am developing an app right now which basically has a preview changing w.r.t some data; i.e. when user moves the phone I have a flashing button indicating movement. I have a preview class and a videorecorder class which are seperate from the activity. </p>

<p>I have a toggle button to start/stop recording. However, whenever I try to initiate recording I get the following errors.</p>

<p>Also, my screen freezes when I click the button to initiate recording.</p>

<pre><code>06-29 18:25:57.197: E/QualcommCameraHardware(8587): frames in busy Q = 0    
06-29 18:25:57.197: E/QualcommCameraHardware(8587): frames in busy Q = 0 after deq and add to freeQ   
06-29 18:25:57.197: E/OMXNodeInstance(8587): OMX_UseBuffer failed with error -2147479547 (0x80001005)    
06-29 18:25:57.197: E/OMXCodec(8587): allocate_buffer_with_backup failed    
06-29 18:25:57.197: A/OMXCodec(8587): frameworks/base/media/libstagefright/OMXCodec.cpp:2855 err != OK    
06-29 18:25:58.538: E/Camera(8643): Error 100    
06-29 18:25:59.849: E/AudioService(1375): Media server died.
06-29 18:26:04.064: E/HTC Acoustic(8667): read receiver state fail. -1
06-29 18:26:05.355: E/AudioService(1375): Media server started.
</code></pre>

<p>The following happens whenever I start the application from the computer, running from Eclipse. Whenever I try the application without invoking it from the computer I get a nullPointer exception.</p>

<p>I can't share the code at that stage,however, these errors might be helpful imo. What are the possible reasons that cause these errors? Thanks in advance.</p>
