[android-developers] Re: App adds a button to another app

2009-06-24 Thread Mark Murphy
s wrote: How can I cause my app to add a button to another app, the text messaging app for instance? You can't. If you could, that would be a serious security hole. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus

[android-developers] Re: App adds a button to another app

2009-06-24 Thread Peli
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

[android-developers] Re: App adds a button to another app

2009-06-24 Thread s
So the stock applications absolutely cannot be modified? They do not provide the possibility for menu additions? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: App adds a button to another app

2009-06-24 Thread Mark Murphy
s wrote: They do not provide the possibility for menu additions? If you search the Android source code for addIntentOptions(), you'll find few references. Why this is, I have no idea. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming

[android-developers] Re: App adds a button to another app

2009-06-24 Thread Dianne Hackborn
We have moved away from addIntentOptions() because allowing arbitrary items to be added to the menu makes providing a decent UI very problematic. Usually app menus are carefully structured to have the most important items in the main menu, with less important ones in the secondary. Our preference

[android-developers] Re: App adds a button to another app

2009-06-24 Thread Mark Murphy
Dianne Hackborn wrote: Our preference at this point is to have one menu item that goes to another list of additional things that other apps can do. Is this technique implemented in the current edition of any apps distributed with Android? If so, and if we're not to use addIntentOptions(), how

[android-developers] Re: App adds a button to another app

2009-06-24 Thread Dianne Hackborn
On Wed, Jun 24, 2009 at 2:50 PM, Mark Murphy mmur...@commonsware.comwrote: Is this technique implemented in the current edition of any apps distributed with Android? Sure, for the share button, and everywhere else you get an activity picker to perform an operation. If so, and if we're not

[android-developers] Re: App adds a button to another app

2009-06-24 Thread Mark Murphy
Dianne Hackborn wrote: Sure, for the share button, and everywhere else you get an activity picker to perform an operation. OK, I'm apparently being dense. It won't be the first time... I've never seen a share button anywhere in Android. There is a share page menu choice in Browser, but a

[android-developers] Re: App adds a button to another app

2009-06-24 Thread Dianne Hackborn
On Wed, Jun 24, 2009 at 3:12 PM, Mark Murphy mmur...@commonsware.comwrote: I've never seen a share button anywhere in Android. There is a share page menu choice in Browser, but a quick survey of other built-in apps that I use show neither a share button nor a share menu choice. Perhaps I use

[android-developers] Re: App adds a button to another app

2009-06-24 Thread Peli
Another way to put oneself into a built-in Android app, albeit only into the Launcher, is by implementing the ACTION_CREATE_SHORTCUT. (Other more trivial possibilities are CATEGORY_INFO for the Market app, and CATEGORY_LAUNCHER for the Launcher app) Yet another possibility is to implement the