Yeah, I'm having the exact same problem.  I'm using a HTC Droid
Incredible to test this on which is running froyo (Android 2.2) and
any time I use an intent to get a photo in that manner, it puts the
photo where I told it to go, but then also puts a separate file copy
in my "/SDCard/DCIM/100Media/" folder as well as where I told it to go
using my URI. :-(

Any help would be greatly appreciated. :-)

-Jared

On Mar 1, 8:52 am, tmartin <[email protected]> wrote:
> Hi Group,
>
> I am using the camera of device to get photo this way:
>
>         File file = new File( Path.getPath() );
>         Uri outputFileUri = Uri.fromFile( file );
>
>         Intent intent = new
> Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE );
>         intent.putExtra( MediaStore.EXTRA_OUTPUT, outputFileUri );
>
>         startActivityForResult( intent, 0 );
>
> It is working. The specified file is created but the camera is
> creating a photo file by its default filename in the default folder,
> too.
> So 2 same files are created in this case.
> The other interesting thing is that the file which has been specified
> in extra_output is not visible
> to integrated photo Gallery application of the device. (Samsung Galaxy
> S)
> EXTRA_OUTPUT file is in same directory as device's default.
> /mnt/sdcard/DCIM/Camera/myfile.jpg
>
> Thank you for any help.

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