Thanks much, I'll look at this when I'm back in town this weekend. My app is a turnkey app in "kiosk" mode, so the user doesn't have access to anything but my app. But they threw me a curve the other day and said that they'd want a page with buttons for several games that they could launch from within my app.
In addition, I'll need them to pull up the wireless settings page from within the app. Thanks again, Jon On Jul 11, 10:36 am, Mark Murphy <[email protected]> wrote: > On Sat, Jul 9, 2011 at 1:11 PM, JonnyG <[email protected]> wrote: > > I see a lot of posts about starting other apps, and I've got code to > > do that for my apps. How do I find out the activity name of another > > app? > > Ideally, you don't. > > > For example, I've got a request to add buttons to my app to > > start angry birds, or some other app. > > You can get a list of launchable activities via PackageManager and > queryIntentActivities(), supplying an Intent that specifies > ACTION_MAIN and CATEGORY_LAUNCHER. Here is a sample project > demonstrating this: > > https://github.com/commonsguy/cw-advandroid/tree/master/Introspection... > > You can use this to display a list of activities for the user to > choose from, which you can then launch, or save to associate with some > button. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > _Android Programming Tutorials_ Version 3.5 Available! -- 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

