You may want to surround the block with an if statement.
if(camera != null)
{
camera.stopPreview();
camera.release();
camera = null;
}
On Tuesday, January 26, 2010 5:22:38 AM UTC-6, steve wrote:
> Greetings,
>
> I have an application that uses the camera quite
Hi all,
I had heard something in the Google I/O sessions about being able to now
use hardware devices to control emulators (touching and possible picture
taking, etc). Is this true? If so, has anyone found how to do it?
Thanks!
--
You received this message because you are subscribed to the
First off, hi everyone.
I didn't see this asked and I couldn't figure out how to word it to find it
on the android dev site so I figured I'd ask you all.
Basically, my company has an application right now that requires for a very
specific function the rear-facing camera. This function isn't
On the MediaPlayers' method:
setDataSource (FileDescriptor fd)
Does the FileDescriptor need to be seekable?
Im asking this because Im trying to use a LocalSocket (which is not
seekable) and I am getting this error:
setDataSourceFD failed.: status=0x8000
--
You received this message because yo
Im using Camera.setPreviewCallback method to retrieve all the camera
frames on the onPreviewFrame on a 2.0.1 device.
Im aware about the issue of GC interrupting on each frame on < 2.2
platforms (http://code.google.com/p/android/issues/detail?id=2794) and
I'm using the suggested work-around.
However
Hello,
I have been working with contacts. I am able to show them, update but
when I want to delete any, it is not deleted completely. In Contacts
application is shown as (Unknown) without any data. What is more, I am
not able to delete it (only after I give this contact name). I have
tried to chan
I am writting an application which is using UDP broadcast. I am able
to send information but I can't receive any. Are there any permissions
I should set or receiving just doesn't work yet (if not will it work
soon?)
--~--~-~--~~~---~--~~
You received this message
7 matches
Mail list logo