using the uri of content resolver you can get the path where it is getting stored
URI mCapturedImageURI = getContentResolver().insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values); Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); intent.putExtra(MediaStore.ACTION_IMAGE_CAPTURE, capturedImage); intent.putExtra(MediaStore.EXTRA_OUTPUT, mCapturedImageURI); On Thu, Jul 28, 2011 at 8:14 AM, perumal316 <perumal...@gmail.com> wrote: > Hi All, > > I am using the following intent to invoke the camera: > > Intent cameraIntent = new > Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE); > startActivity(cameraIntent); > > The image is saved into the sdcard with the time/date as the name. I > want to do a HTTPPost of this image once the picture is taken. > > How do I get the name of the picture stored? Or how to I change the > name of the image stored? > > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- K Siva Sankar -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en