Is it possible to print available Intents installed on phone?

by Eric » Thu, 19 May 2011 07:56:46 GMT

Sponsored Links
 I installed an app today that I would like to call out to from my app,
if it turns out the app I installed has a public intent published.  Is
there a way for me to determine this information, either
programmatically or through a facility on the system?   I fooled
around a bit with PackageManager, but it only seems to report on
system-level intents, not installed applications.

In general, I think it would be useful to know all of the public
Intents installed on a phone, and the data-structure those Intents
expect.  I see there's an 'openintents' website, but I'm wondering if
it's possible to check a given phone for available intents?


Re: Is it possible to print available Intents installed on phone?

by Mark Murphy » Thu, 19 May 2011 08:07:43 GMT


You can call queryIntentActivities() or similar methods on
PackageManager to see what responds to a given Intent.

queryIntentActivities() and kin support any Intent, AFAIK. If you have
evidence to the contrary, that's probably a bug, so please post a
sample project and symptoms to .

The latter is impossible; the former is merely not supported.

No, sorry.

Mark Murphy (a Commons Guy)  |  | 

Android App Developer Books: 


Sponsored Links

Re: Is it possible to print available Intents installed on phone?

by Eric » Thu, 19 May 2011 08:20:30 GMT

 Thank you.


Re: Re: Is it possible to print available Intents installed on phone?

by Dianne Hackborn » Thu, 19 May 2011 09:26:40 GMT

 Note there is not really a concept of "published intents."  An app describes
intent filters, which match intents.  An intent filter is not an intent --
it is a rule for matching intents.  It generally matches an arbitrary number
of intents, and may be used to specify multiple flavors of an intent
together.  They really only provide information given some intent you
already have, asking whether it matches the filter.

Dianne Hackborn
Android framework engineer

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.


Re: Is it possible to print available Intents installed on phone?

by MarcoAndroid » Thu, 19 May 2011 18:16:52 GMT

 Not programmatically but you can look here for published intents for
Maybe the app you refer to is in the list. Else, you could maybe ask
the app builder to add their Intents to that site?


Other Threads

1. Trouble with comparisons

I am writing a simple check of values held by two string variables,
these two variables are created by returning a string from a method
that checks a remote database on the internet, and the other is a
string value taken from strings.xml

stringa = text.getText().toString().toUpperCase();
temp = FetchDBInfo(stringa); //returns a string, on no dbinfo returns
String empty = getString(R.string.empty); // R.string.empty is the
string 'Empty'
if (temp == empty) {
temp = "No information available for " + stringa;
} else {

// Do other stuff


Even by outputting the values of temp and empty which are identical,
(created the return to be the same), in the DDMS and are both string
variables or eclipse would highlight an error about comparing
different variable types, the program all ways goes to the else part!!

I have wasted two hours on this, what am I missing!!

With thanks



2. Fastboot procedure

Hi ,

I'm new to Android.This is regarding Fastboot implementation on
I'm developing Fastboot for my target, through usb.I would like to
explain my understanding regarding fastboot,pls correct me If I'm
wrong ?
What I understand about fastboot is that it's the communication
between server and client via usb connectivity. Here Server is the
software which would be running on host PC(I'm using Windows PC) and
client on the target.
Also I understand that for host side as  server I need to install
For client side I need to integrate my usb gadget driver on linux

I have few doubt's regarding the client side.
1. what class driver should I to integrate for USB gadget ( is it Mass
storage class ?).And as what type of device is usb cleint getting
recognized as(like pendrive or debugging device etc, this I'm not
2. Does it require adb interface integrated with the driver?
3. Already I have usb driver for my target.What extra I need to do to
make the fastboot come up.

It would be great if anybody can help me in this regard.

Thanks in advance.


3. How to log test results in a file?

4. How to Handle Multiple Adapters for one ListView

5. accessing local content from webview

6. Audio Recording not working in Android

7. Setting a scrollbar position.