[android-developers] Re: Make a photo with Android Emulator

2009-01-22 Thread ANDREA P
If I use the Camera of Emulator appear this text :Please insert the SDCARD before using the Camera How do I simulate a SDCARD Thanks ! On 21 Gen, 21:06, Dave Sparks davidspa...@android.com wrote: You need to call startPreview() before takePicture. You also need to supply a

[android-developers] Re: Make a photo with Android Emulator

2009-01-22 Thread ANDREA P
Problem Resolved Thanks On 22 Gen, 11:18, ANDREA P andrewpag...@gmail.com wrote: If I use the Camera of Emulator appear this text :Please insert the SDCARD before using the Camera How do I simulate a SDCARD Thanks ! On 21 Gen, 21:06, Dave Sparks davidspa...@android.com

[android-developers] Re: Make a photo with Android Emulator

2009-01-22 Thread Gavin Aiken
There is a command line tool for making an SD card, you then need to pass it in as a command line argument to the emulator. Presuming tools is in your PATH; Command line: mksdcard 1024M sd.iso Argument to emulator: -sdcard C:\PATH_TO_SD\sd.iso Add files manually: adb push local_file

[android-developers] Re: Make a photo with Android Emulator

2009-01-21 Thread Dave Sparks
You need to call startPreview() before takePicture. You also need to supply a PictureCallback function to receive the encoded JPEG. By passing null, you are telling the camera service you don't want the final JPEG image. On Jan 21, 2:50 am, ANDREA P andrewpag...@gmail.com wrote: I want to use