On Mon, Nov 1, 2010 at 12:40 PM, Mark Murphy <mmur...@commonsware.com>wrote:
> > Is the API not in sync with what can be > > specified through the manifest? (IntentFilter not mandatory there). > While the <intent-filter> may not be technically mandatory there, > having a <receiver> element with no <intent-filter> is pointless, > since the BroadcastReceiver will never be used. > That's not true -- if you specify an explicit component in the intent, then it will go to the receiver regardless of the intent-filter. This is the same as matching activities and services. This is typically what you should do with alarms, since you are setting the alarm to go off and explicitly tell your app about this. -- Dianne Hackborn Android framework engineer hack...@android.com 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. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en