Hallo!
Taking the following code from a Tutoral I want the build in camera
application to take a picture using the camera. After clicking a
button I execute the following code:
String _path = Environment.getExternalStorageDirectory() +
"make_machine_example.jpg";
File file = new File( _path );
Uri outputFileUri = Uri.fromFile( file );
Intent intent = new
Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE );
intent.putExtra( MediaStore.EXTRA_OUTPUT, outputFileUri );
startActivityForResult( intent, 0 );
The camera application starts normally. I can take a picture button
when I push the ok button of the camera app nothing happens. According
to the tutorial the activity should close and my activity should come
up again. I'm running the code on a AVD 2.1 in the emulator. Any idea
what could be the problem?
Thanks
Patrick
--
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