No com.android.camera.CropImage on HTC Magic?

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


Sponsored Links
 Hi,

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
{com.android.camera/com.android.camera.CropImage}"

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

Best regards,

--~--~---------~--~----~------------~-------~--~----~



No com.android.camera.CropImage on HTC Magic?

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


 This code works on G1

                 Intent intent = new
Intent("com.android.camera.action.CROP");
         intent.setClassName("com.android.camera",
"com.android.camera.CropImage");
         intent.setData(uri);
         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 +
"/user.jpg"));
         startActivityForResult(intent, CROP_PICTURE_ACTION);








--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


No com.android.camera.CropImage on HTC Magic?

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


 Bump.

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






--~--~---------~--~----~------------~-------~--~----~



No com.android.camera.CropImage on HTC Magic?

by admin.androidsl...@googlemail.com » 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 com.android.camera.CropImage 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)
 http://commonsware.com  |  http://twitter.com/commonsguy 

Looking for Android opportunities?  http://wiki.andmob.org/hado 

--~--~---------~--~----~------------~-------~--~----~



No com.android.camera.CropImage on HTC Magic?

by admin.androidsl...@googlemail.com » 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 georgiansoftware.com username:Guest and
password:Guest2009)

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

Does anyone know how I can overcome this apparent addressability
problem?

-- 

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