You would need to register your activity for Intent.ACTION_SEND, with the mime-type that you would like to support, in case of pictures, I would recommend "image/*"
When in the Gallery user clicks on share, it scans the system for any activities that are registered to handle ACTION_SEND with picture's mime-type, and displays a dialog to the user, with the names of those activities. Google ACTION_SEND for samples on how to implement your activity. -Alexey Krasnoriadtsev On May 10, 1:38 am, arnouf <[email protected]> wrote: > Hi all, > > I would like that users using Pictures application or an other app can > launch my application directly. > > Two ways apparently exist: > - add directly a menu in the other application (exemple: I use share > menu in Gallery app and I can share by sms, email...or my app) > - each application can be replaced by another: exemple when I > installed aHome application changing the standard home application, a > popup is displayed to choose app that I want launch > > How can I do these two methods? > Thanks a lot for all your answers > > 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 [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 -~----------~----~----~----~------~----~------~--~---

