Hello, I can't find solution, so i hope somebody can help me.

In my app (1.5 api) i take a picture and save to the sdcard. The code
is here:

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

In emulator it works fine. Picture is store in sdcard/FMSPHOTO.jpg .
Problem is on real device(HTC Dream 1.5api). Picture is everytime
stored in /sdcard/DCIM/100MEDIA/IMAG00..jpg with different name. Can
someone tell me why or how to solve it??? I need to store it on the
same place with same name because later i need to access this file.

Thank you very much for all responses.

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