take photo in android emmulator
i tried running "Photo capture example" in android emulator ,
http://labs.makemachine.net/wp-content/uploads/2010/03/2010_04_09_make_machine_photo_capture.zip
when the photocapture example is loaded in android emulator , it shows the screen with “No Image” Text and “Take Photo” button. as follows,
if i click on “Take Photo: Button then a camera window appears with a “black and white boxes” and after that a run time error generated to forcefully close the application.
As far as sd card is concerned i have created it using AVD manager in eclipse. after that i have set one image file also and mount the sdcard.
But still not be 开发者_开发知识库able to take the photo , so please tell me what is require to run this program.
Are you running on a 2.2 AVD (API level 8)? The Camera app on the FroYo SDK is horribly, inexcusably broken. Try testing on a different SDK version.
精彩评论