What is meant is to add a menu button - or menu item - in another application.
This is only possible if the hosting application explicitly provides this possibility. We do this in our OI applications, so that 3rd party applications can add additional functionality on-the-fly... for example OI Voice Notes appears as a menu extension in OI Notepad. For this purpose, the hosting activity (OI Notepad) must call addIntentOptions(....) when they create the menu http://code.google.com/p/openintents/source/browse/trunk/NotePad/src/org/openintents/notepad/NoteEditor.java while the other activity (OI Voice Notes) that wants to be included in the first application shall specify an intent filter in the category <category android:name="android.intent.category.ALTERNATIVE" /> http://code.google.com/p/openintents/source/browse/trunk/VoiceNote/AndroidManifest.xml Peli www.openintents.org On Jun 24, 3:44 pm, s <sbank...@aol.com> wrote: > How can I cause my app to add a button to another app, the text > messaging app for instance? I want to add a button and then listen > for when it is pressed, at which point code from my app would > execute. In the notepad exercise 1 tutorial from the dev guide, > there's a link that says "add a button to an existing application!" > but this just links to the common development tasks. I've searched > this but haven't found anything helpful. > > Any help would be greatly appreciated! > > Thanks, > s --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---