I am trying to run PhotoStream sample from following link
http://android-developers.blogspot.com/2008/09/android-photostream.html
I found a way by following the LogCat while i was cropping a contact Image. It called the Intent with following parameters:
cmp=com.android.gallery/com.android.camera.CropImage
So try to replace the com.android.camera
with com.android.gallery
. This worked for me:
Intent intent = new Intent("com.android.camera.action.CROP");
intent.setClassName("com.android.gallery", "com.android.camera.CropImage");
On some Android version, including the newest, com.android.gallery doesn't exist anymore. You need to use this then:
Intent intent = new Intent("com.android.camera.action.CROP");
intent.setClassName("com.google.android.gallery3d", "com.android.gallery3d.app.CropImage");