Hello, i have problem with saving picture on real device(HTC Dream 1.5
api). My app should take a photo and save it on sdcard.(will be
accessed later). On emulator it works fine.Here is code:

File photo = new
File(Enviroment.getExternalStorageDirectory(),"FMSPHOTO.jpg");
Intent imageCaptureIntent = new
Intent(MediaStore.ACTION_IMAGE_CAPTURE);
imageCaptureIntent.putExtra(MediaStore.EXTRA_OUTPUT,
Uri.fromFile(photo));

On emulator it saves file on sdcard/FMSPHOTO.jpg. On a device(HTC
Dream) it saves file in /sdcard/DCIM/100MEDIA/IMAG00..jpg. The name is
different, location too. I find that it can be HTC problem with
camera. i have not different device to try it.

Somebody know about this??? or some ideas???

-- 
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

Reply via email to