I need some help. I have an app that allows the user to take a picture (with MediaStore.ACTION_IMAGE_CAPTURE).
In onActivityResult, I extract the uri to the image that was taken (with uri = data.getdata())
This works properly on Android 1.5, but it crashes on 1.6 (and also 2.0). It seems that the picture was never taken and I get a nullpointerException on data.getdata() since it is null.
I'm testing on actual hardware (Hero for 1.5, G1 for 1.6, Milestone/Droid for 2.0) so it has nothing to do with the emulator.
Does anyone know what changed in 1.6???
I have included the permission android.permission.WRITE_EXTERNAL_STORAGE that is new in 1.6, anything else?