No on HTC Magic?

by Klaus Kartou » Sat, 29 Aug 2009 06:17:34 GMT

Sponsored Links

I have a pretty urgent issue. I am using the CropImage intent on my G1 Dev
phone to crop images.
However when starting this intent on a HTC Magic I get an error indicating
the activity cannot be found:

"Unable to find explicit activity class

Why is this activity not present on HTC Magic?
Any input is much appreciated.

Best regards,


No on HTC Magic?

by Klaus Kartou » Sat, 29 Aug 2009 06:43:22 GMT

 This code works on G1

                 Intent intent = new
         intent.putExtra("outputX", 128);
         intent.putExtra("outputY", 128);
         intent.putExtra("aspectX", 128);
         intent.putExtra("aspectY", 128);
         intent.putExtra("scale", true);
         intent.putExtra("noFaceDetection", true);
         intent.putExtra("output", Uri.parse("file:/" + FILE_PATH + userId +
         startActivityForResult(intent, CROP_PICTURE_ACTION);


Sponsored Links

No on HTC Magic?

by Klaus Kartou » Sat, 29 Aug 2009 21:18:23 GMT


Please, have anyone used the CropImage intent on a HTC Magic?


No on HTC Magic?

by » Mon, 31 Aug 2009 16:58:33 GMT

 Same issue here - both crop and wallpaper.

Please advise the correct techniques to call these across all phones.


No on HTC Magic?

by Mark Murphy » Mon, 31 Aug 2009 17:03:03 GMT


In terms of cropping:

Option #1: Upload it to a Web service that handles cropping, and let it
do the work

Option #2: Find a third-party JAR that handles cropping, and let it do
the work

Option #3: Implement cropping algorithms yourself

Mark Murphy (a Commons Guy)  | 

Looking for Android opportunities? 


No on HTC Magic?

by » Tue, 01 Sep 2009 08:24:53 GMT

 Thanks for responses - by wallpaper, I meant set image as wallpaper.


Other Threads

1. launching picasa from my app

Hi all,
i want to launch picasa app which i have downloaded on my emulator,
from my application..
i googled a lot but  got only how to  upload  images on picasa..
i need to launch the whole stand alone application picasa from my
application using some intents and/or some API's


2. Can't achieve focus under cascading framelayouts!

I am developing a pseudo treeview facility which employs repeating
instances of a spinner control coupled with a tabhost. (You can see a
look-alike implementation at username:Guest and

At this time I have the initial display working which supports the
cascading tabs. Unfortunately, I am encountering a forced close
whenever I attempt to access a spinner which is hosted below the first

Does anyone know how I can overcome this apparent addressability


3. LocationListener sometimes not receiving updates from "network" provider

4. Unit Testing - Activity shutdown

5. Threads

6. Strategies for large apps

7. listen for GPS updates for definite time