Thursday, August 18, 2011

[android-developers] Image is saved twice

Hi All,

I am using the following intent:

Intent i = new
Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
i.putExtra(android.provider.MediaStore.EXTRA_OUTPUT, uri);

Basically i am using ACTION_IMAGE_CAPTURE intent to invoke the camera
and save the taken image into the specified uri.
It works but at the same time the image is also saved with the default
name.

Thus once i have snapped the picture, it is saved twice, both in the
uri and in the default path and name.

How do i ensure that it is only saved in the specified uri?

Thanks In Advance,
Perumal

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment