It's certainly fine on Nexus 1, even on 2.3.3. but I wasn't aware it
wasn't supported on the Nexus S.

So it looks as if long term writing my own cropping activity will be
the best solution.

Thanks!
James


On Apr 28, 2:21 am, Kumar Bibek <[email protected]> wrote:
> Cropping, as far as I know, is not a documented Intent to be used for
> reliable behaviour.
>
> So, first of all, you should probably not using it. On Android 2.3.3,
> it breaks(Nexus S). I think it also breaks on 2.2 (Nexus One).
>
> You might get it to work on majority of devices right now. But, if
> it's not documented, you will find it hard to use the same code to
> make it work on all the devices.
>
> On Apr 27, 6:52 pm, James W <[email protected]> wrote:
>
>
>
> > There have been a number of threads here and on other resources
> > regarding this issue, with no resolution I could see:
>
> >http://groups.google.com/group/android-developers/browse_frm/thread/b...
>
> >http://groups.google.com/group/android-developers/browse_frm/thread/2...
>
> > The issue is that on theDroidXwhen using ACTION_GET_CONTENT with
> > cropping, or the photo app's cropping intent, the requested image does
> > not get returned but instead overwrites the user's Wallpaper!
>
> > I am in the same situation, I am using a Intent.ACTION_GET_CONTENT
> > with the crop settings to browse the gallery, and specifying a file
> > URI on the SD card for the returned cropped image data, which I then
> > want to copy to the internal app area. (I am using an intermediate sd
> > card file as returning the data in memory fails for all but very small
> > images).
>
> > On theDroidXit is not saving the file, and I suspect like these
> > other reports it is instead overwriting the user's wallpaper also,
> > however as my app is a Preference Activity for a Live Wallpaper, such
> > an effect is not visible, as my Live Wallpaper is still in play.
>
> > The last official word I could find from Motorola was in here, back in
> > January:
>
> >http://community.developer.motorola.com/t5/Android-App-Development-fo...
>
> > "This appears to be bug when its trying to store large sized images
> > using MediaStore.EXTRA_OUTPUT while cropping. Will file the bug and
> > let you know the status if I get any update."
>
> > But nothing since then.
>
> > So I guess I am faced with either:
>
> > 1. Not using cropping at all, which means reduced functionality for
> > every other phone apart fromDroidX
> > 2. Adding an extra non-cropped routine just forDroid-Xusers
> > 3. Writing my own cropping activity
>
> > The third option seems like overkill, but perhaps is the only way to
> > be sure.
>
> > Anybody else come across this, or could suggest any other workarounds?
>
> > Thanks and regards,
> > James

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