Intercepting intents

Put your problem here if it does not fit any of the other categories.

Intercepting intents

Postby t0ol » Mon May 31, 2010 2:25 pm

Hi all,
is there a way to view all the intents coming from a specified 3rd party service for example (so i dont know any of intents parameters)? if yes - what filters should be used?

lets say i want my prog to know that gtalkservice has just received a message.. i guess gtalkservice sends an intent to the notif manager and the gtalk activity itself passing the incoming msg..

or maybe there is a way to make notification manager tell me that it has received an event from app XYZ?
Once Poster
Once Poster
Posts: 1
Joined: Mon May 31, 2010 2:17 pm


Re: Intercepting intents

Postby anarche » Tue Jun 01, 2010 12:23 pm

Register a (Broadcast)Receiver for the Intent.

Build a PendingIntent where the Intent given as parameter is the intent you wish to intercept.
Master Developer
Master Developer
Posts: 369
Joined: Sun Apr 11, 2010 5:21 am


Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 7 guests