Here's my use case that will hopefully explain why I even want to do this: 1) I have a free app 2) I wrote another app that serves strictly as a token which the user can purchase to "upgrade" features in the free app 3) When they purchase the upgrade app, I want to give them the impression they actually downloaded it and it installed correctly. Simply having it install without any confirmation will, I assure you, result in countless emails to me. 4) I really don't want to have to show the "upgrade" app in their app tray since they now would have two icons.
So, with all that's been discussed, let me ask a different question. Is there a way to programmatically remove an icon from the tray after the activity has been shown and still keep the app installed on the phone? - Mike On Dec 3, 10:44 am, "Mark Murphy" <[email protected]> wrote: > > Thanks. That works. > > > BUT... I should have clarified myself a little bit. Not only do I > > want to prevent the icon from getting placed in the app tray, but I > > still need the main activity to run and display a message to the > > user. > > Fortunately, that's not possible. The only way the user will be able to > launch your application is if you put an icon in the launcher. > > > I suppose I can write my own class that extends Application and > > create an Intent that shows this Activity in onCreate? > > Except that your Application will never run unless it is launched, and the > first launch has to be by the user. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > Android App Developer Books:http://commonsware.com/books.html -- 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

