Tuesday, February 21, 2012

Re: [android-developers] How to take photo and crop with Android 3.x

On Tue, Feb 21, 2012 at 6:14 PM, Yaniv <ybendavid@gmail.com> wrote:

> The photo is taken fine and saved but when I send the intent to crop
> it I get the following excpetion:
>
> a02-21 10:58:36.460: E/AndroidRuntime(14379): FATAL EXCEPTION: main
...
> android.content.ActivityNotFoundException: No Activity found to handle
> Intent { act=com.android.camera.action.CROP dat=file:///mnt/sdcard/

>
> Does anybody know why do I get this exception and it doesn't work?
>

The cropping activity has never been part of the public API. It probably
used to work on older version, but has been either removed or renamed.
You need to incorporate the cropping code into your app, to make sure
it works on all Android versions.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment