开发者

take photo in android emmulator

开发者 https://www.devze.com 2023-01-17 04:19 出处:网络
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

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,

take photo in android emmulator

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消