Hi everyone,
I've just noticed that launching the Camera and Camcorder (in the
emulator) would result in a black screen (instead of the famous moving
small boxes), i've looked for why this happening on the net,
apparently that the camera is disabled by default when you create an
AVD. Decided to create another AVD with the camera enabled and
launched it and still getting that black screen.
Anyone has any idea how to fix this ?
My problem in the first place is that my application is using the
default camera application using intents just like in the following:
Intent imageCaptureIntent = new Intent
(MediaStore.ACTION_IMAGE_CAPTURE);
imageCaptureIntent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(new
File("/sdcard/imageCaptureIntent.jpg")));
startActivityForResult(imageCaptureIntent, WHATEVER_REQ_CODE);
I thought that there's a problem in my intent request but like i said
before, running the camera on the emulator itself is the problem.
By the way, You can run the "camera preview" in the API demos with no
problems, how come !!!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---