Thanks guys -- I jumped the gun after poking around at the source and seeing
my code not working on a Droid, however further debugging shows the code
works on my 2.0 emulator ... Are there any known issues with crop code and
the Droid?

@SOB:  For some reason, my code requires that I explicitly call:

intent.setClassName("com.android.camera", "com.android.camera.CropImage");

... or else I get the following error:

03-23 14:17:09.119: ERROR/AndroidRuntime(222): Caused by:
android.content.ActivityNotFoundException: No Activity found to handle
Intent { act=com.android.camera.action.CROP ...

Maybe I'm missing a required configuration somewhere else?

--Paul

On Tue, Mar 23, 2010 at 2:22 PM, Streets Of Boston
<[email protected]>wrote:

> I tried this on G1, N1 and Nexus one, and it works for me:
>
> final Intent intent = new Intent("com.android.camera.action.CROP");
> intent.setData(mImgUris[1]);
> intent.putExtra("noFaceDetection", false);
> //intent.putExtra("outputX", width);
> //intent.putExtra("outputY", height);
> //intent.putExtra("aspectX", width);
> //intent.putExtra("aspectY", height);
> //intent.putExtra("scale", true);
> //intent.putExtra("output", fileUri);
> startActivityForResult(intent, R.id.view_image_menu_crop);
>
>
> On Mar 23, 5:12 pm, Paul Tongyoo <[email protected]> wrote:
> > I'm no longer seeing an Intent Filter declared for the CropImage activity
> in
> > the Eclair ... is there another way to re-use this activity?
> >
> > http://android.git.kernel.org/?p=platform/packages/apps/Camera.git;a=...
> >
> > TIA!!
> > Paul
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>
> To unsubscribe from this group, send email to android-developers+
> unsubscribegooglegroups.com or reply to this email with the words "REMOVE
> ME" as the subject.
>

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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to