Could you elaborate on how exactly to do this? GET_INTENT_FILTERS
doesn't really seem to do anything.

The closest thing I got was to get the PackageInfo, query through its
ActivityInfo objects, and then create an Intent out of each one
(Intent intent = new Intent(); intent.setClassName(pi.packageName,
activityInfo.name); ) and then call queryIntentActivities() on that,
but none of that gives me the actual intent filter information.

-Mike


On Jul 31, 9:31 am, Marco Nelissen <[email protected]> wrote:
> The package manager has APIs to do this.
>
> On Fri, Jul 31, 2009 at 8:52 AM, EboMike <[email protected]> wrote:
>
> > Is there a way to get a list of all apps and their activities and
> > intent filters? Basically, I'd like to know what another app is
> > "listening to" so I can provide an Intent that matches. (I suppose
> > that this will require an ADP, which is fine).
>
> > I tried grabbing the AndroidManifest.xml from an .apk file in /data/
> > app, but that didn't seem to work - I ran jar -xf on the apk, but the
> > xml wasn't plain ASCII.
>
> > -Mike
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to