[android-developers] Re: Crop a Picture after Using Camera to Take It

2010-01-27 Thread GDroid
Hi, I'm testing this code on Motorola Milestone (2.0). And I get an exception when trying to launch the Cropper: 01-27 14:29:24.210: ERROR/AndroidRuntime(1895): Caused by: android.content.ActivityNotFoundException: Unable to find explicit activity class

[android-developers] Re: Crop a Picture after Using Camera to Take It

2010-01-27 Thread zero
the activity is not present on all systems under that explicit package name. try calling it with just the action, leaving out package and classname in the intent On Jan 27, 1:31 pm, GDroid baron...@gmail.com wrote: Hi, I'm testing this code on Motorola Milestone (2.0). And I get an exception

[android-developers] Re: Crop a Picture after Using Camera to Take It

2010-01-27 Thread GDroid
That's what I did in the second try. As I mentioned I commented out the the setClassName method and got the second exception: 01-27 14:15:46.483: ERROR/AndroidRuntime(1813): Caused by: android.content.ActivityNotFoundException: No Activity found to handle Intent {

[android-developers] Re: Crop a Picture after Using Camera to Take It

2010-01-27 Thread Streets Of Boston
... The name of the action looks good... In my app, the image-Uri in the setData is different. You use a 'file:' uri. In my app, I use a 'content:' uri. Maybe the CROP action cannot handle 'file:' uris and can only handle images that are inserted into the Images content-provider. On Jan 27,

[android-developers] Re: Crop a Picture after Using Camera to Take It

2010-01-27 Thread GDroid
I've tried testing it with the code from the 1st post. Looks like: Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); intent.putExtra(MediaStore.EXTRA_OUTPUT, MediaStore.Images.Media.EXTERNAL_CONTENT_URI.toString()); intent.putExtra(crop, true); .. .. If i'm not wrong,

[android-developers] Re: Crop a Picture after Using Camera to Take It

2009-12-29 Thread Wysie
Hi all, After doing some reading, I realized it can't be done so simply. My modded Contacts source is at http://github.com/Wysie, you can take a look if you're interested. Also, here's what I did to get it working: private void doTakePhotoAction() { //