I think the answer is here:
  
http://developer.android.com/intl/de/guide/topics/manifest/activity-element.html#exported

In eclair, the CropImage activity has no intent-filter associated with
it, so it is not exported.  This means it cannot be launched by
components of other applications.  If this is what you are trying to
do, then that would explain the failure.  Note that this *is*
different to previous versions of Android.  See the declaration of the
CropImage activity with an intent-filter in release-1.0 here (line
86):
  
http://android.git.kernel.org/?p=platform/packages/apps/Camera.git;a=blob;f=AndroidManifest.xml;hb=release-1.0
...compared to the declaration of the CropImage activity *without* an
intent-filter in eclair here (line 71)
  
http://android.git.kernel.org/?p=platform/packages/apps/Camera.git;a=blob;f=AndroidManifest.xml;hb=eclair-release



On Feb 13, 7:05 pm, Adarsh Pandey <[email protected]> wrote:
> Hi,
>
> We are facing problem with cropimage activity, is there any changes?
> it gives error related to permission.
>
> java.lang.SecurityException: Permission
> Denial: starting Intent { act=android.intent.action.EDIT
> dat=content://
> media/external/images/media/12 cmp=com.android.camera/.CropImage (has
> extras) } from ProcessRecord{43b72040 374:com.abc/10028} (pid=374,
> uid=10028) requires null

-- 
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

Reply via email to