Use PackageManager and queryIntentActivities(). On Tue, Nov 30, 2010 at 8:35 AM, dactivo <[email protected]> wrote: > To find all the apps that open a URL I would do like this: > > Uri uri = Uri.parse(URL); > Intent intent = new Intent(Intent.ACTION_VIEW, uri); > Intent intentChooser = Intent.createChooser(intent,"Choose > navigator"); > activity.startActivity(intentChooser); > > The problem is that I don't want to user the Chooser control, because > of some developing specifications. > > The question is how can I get the list of apps that open URL (that's > what I get with the code above) to pass them to an ArrayAdapter / > Spinner. > > -- > 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 >
-- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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

