The documentation explains how this intent protocol works: http://developer.android.com/reference/android/content/Intent.html#ACTION_SEND
The data is in one of the extra fields as described there. On Thu, Sep 3, 2009 at 7:25 PM, Súper JMN <[email protected]> wrote: > > Hi everybody. > > I've registered my application to receive images when the user selects > "Share" from the Gallery application. > My Activity is called and manage to debug all the process. But now > there's a problem... How can I get the information to know what image > was selected?? > > When I want to get it, and use the getIntent() and getExtras(), but > everything fails! > The intent that is received is: > Intent { action=android.intent.action.CHOOSER flags=0x3800000 comp= > {com.superjmn.app.onblog/com.superjmn.blog.EditEntryActivity} (has > extras) } > > And its Bundle is: > Bundle[{android.intent.extra.TITLE=Share picture via, > android.intent.extra.INTENT=Intent { action=android.intent.action.SEND > type=image/png (has extras) }}] > > PLEASE, HELP!! I crawled all over the Internet for hours and I'm > almost exhausted and 4:26 AM. > Thanks in advance...! > > > > -- Dianne Hackborn Android framework engineer [email protected] 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 [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 -~----------~----~----~----~------~----~------~--~---

