[android-developers] Re: No com.android.camera.CropImage on HTC Magic?
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); On Sat, Aug 29, 2009 at 12:16 AM, Klaus Kartou wrote: > 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, > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: No com.android.camera.CropImage on HTC Magic?
Bump. Please, have anyone used the CropImage intent on a HTC Magic? On Sat, Aug 29, 2009 at 12:39 AM, Klaus Kartou wrote: > 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); > > > > > On Sat, Aug 29, 2009 at 12:16 AM, Klaus Kartou wrote: > >> 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, >> > > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: No com.android.camera.CropImage on HTC Magic?
This is not part of the SDK. You dug up the internal package and class name from somewhere, which happens to exist on the G1, but there is no guarantee it will exist on other devices (nor that it won't change in a future update to the G1). On Fri, Aug 28, 2009 at 3:16 PM, Klaus Kartou wrote: > 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, > > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: No com.android.camera.CropImage on HTC Magic?
Same issue here - both crop and wallpaper. Please advise the correct techniques to call these across all phones. On Aug 29, 5:15 pm, Dianne Hackborn wrote: > This is not part of the SDK. You dug up the internal package and class name > from somewhere, which happens to exist on the G1, but there is no guarantee > it will exist on other devices (nor that it won't change in a future update > to the G1). > > > > On Fri, Aug 28, 2009 at 3:16 PM, Klaus Kartou wrote: > > 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, > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: No com.android.camera.CropImage on HTC Magic?
admin.androidsl...@googlemail.com wrote: > Same issue here - both crop and wallpaper. > > Please advise the correct techniques to call these across all phones. 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 --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: No com.android.camera.CropImage on HTC Magic?
I don't know what you mean by "wallpaper," so there is no way to help you. As for cropping, as I said, I don't believe there is an official intent to do this. You'll need to implement it yourself. If nothing else, just go copy the code out of the camera app that does what you want. On Mon, Aug 31, 2009 at 1:57 AM, admin.androidsl...@googlemail.com < admin.androidsl...@googlemail.com> wrote: > > Same issue here - both crop and wallpaper. > > Please advise the correct techniques to call these across all phones. > > > > On Aug 29, 5:15 pm, Dianne Hackborn wrote: > > This is not part of the SDK. You dug up the internal package and class > name > > from somewhere, which happens to exist on the G1, but there is no > guarantee > > it will exist on other devices (nor that it won't change in a future > update > > to the G1). > > > > > > > > On Fri, Aug 28, 2009 at 3:16 PM, Klaus Kartou wrote: > > > 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, > > > > -- > > Dianne Hackborn > > Android framework engineer > > hack...@android.com > > > > Note: please don't send private questions to me, as I don't have time to > > provide private support, and so won't reply to such e-mails. All such > > questions should be posted on public forums, where I and others can see > and > > answer them. > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: No com.android.camera.CropImage on HTC Magic?
Thanks for responses - by wallpaper, I meant set image as wallpaper. On Aug 31, 5:58 pm, Dianne Hackborn wrote: > I don't know what you mean by "wallpaper," so there is no way to help you. > > As for cropping, as I said, I don't believe there is an official intent to > do this. You'll need to implement it yourself. If nothing else, just go > copy the code out of the camera app that does what you want. > > On Mon, Aug 31, 2009 at 1:57 AM, admin.androidsl...@googlemail.com < > > > > admin.androidsl...@googlemail.com> wrote: > > > Same issue here - both crop and wallpaper. > > > Please advise the correct techniques to call these across all phones. > > > On Aug 29, 5:15 pm, Dianne Hackborn wrote: > > > This is not part of the SDK. You dug up the internal package and class > > name > > > from somewhere, which happens to exist on the G1, but there is no > > guarantee > > > it will exist on other devices (nor that it won't change in a future > > update > > > to the G1). > > > > On Fri, Aug 28, 2009 at 3:16 PM, Klaus Kartou wrote: > > > > 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, > > > > -- > > > Dianne Hackborn > > > Android framework engineer > > > hack...@android.com > > > > Note: please don't send private questions to me, as I don't have time to > > > provide private support, and so won't reply to such e-mails. All such > > > questions should be posted on public forums, where I and others can see > > and > > > answer them. > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: No com.android.camera.CropImage on HTC Magic?
I don't think there is a standard activity you can launch, but there is the actual API on Context you can use to set the wallpaper to whatever you want. On Mon, Aug 31, 2009 at 5:23 PM, admin.androidsl...@googlemail.com < admin.androidsl...@googlemail.com> wrote: > > Thanks for responses - by wallpaper, I meant set image as wallpaper. > > > > On Aug 31, 5:58 pm, Dianne Hackborn wrote: > > I don't know what you mean by "wallpaper," so there is no way to help > you. > > > > As for cropping, as I said, I don't believe there is an official intent > to > > do this. You'll need to implement it yourself. If nothing else, just go > > copy the code out of the camera app that does what you want. > > > > On Mon, Aug 31, 2009 at 1:57 AM, admin.androidsl...@googlemail.com < > > > > > > > > admin.androidsl...@googlemail.com> wrote: > > > > > Same issue here - both crop and wallpaper. > > > > > Please advise the correct techniques to call these across all phones. > > > > > On Aug 29, 5:15 pm, Dianne Hackborn wrote: > > > > This is not part of the SDK. You dug up the internal package and > class > > > name > > > > from somewhere, which happens to exist on the G1, but there is no > > > guarantee > > > > it will exist on other devices (nor that it won't change in a future > > > update > > > > to the G1). > > > > > > On Fri, Aug 28, 2009 at 3:16 PM, Klaus Kartou > wrote: > > > > > 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, > > > > > > -- > > > > Dianne Hackborn > > > > Android framework engineer > > > > hack...@android.com > > > > > > Note: please don't send private questions to me, as I don't have time > to > > > > provide private support, and so won't reply to such e-mails. All > such > > > > questions should be posted on public forums, where I and others can > see > > > and > > > > answer them. > > > > -- > > Dianne Hackborn > > Android framework engineer > > hack...@android.com > > > > Note: please don't send private questions to me, as I don't have time to > > provide private support, and so won't reply to such e-mails. All such > > questions should be posted on public forums, where I and others can see > and > > answer them. > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---