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