On Thu, Aug 19, 2010 at 6:23 AM, Sebastián Treu
<[email protected]> wrote:
> What does it mean: "[...] if the described PendingIntent already
> exists [...]" ?

Pretty much exactly what it says. PendingIntents are compared by
comparing their Intents. Intents are compared via filterEquals().
filterEquals() looks at component, action, MIME type, and category, to
see if the Intents are equivalent.

> I can't get quite well the PendingIntent concept. For me it's just
> like a loaded gun already to be fired (in the BroadcastReceiver
> context) upon certain circumstances.

It is the encapsulation of an Intent, how the Intent is to be used
(startActivity, startService, sendBroadcast), and permission
information about who created the PendingIntent.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.1 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

Reply via email to