What should the prefix class be for MATCH_DEFAULT_ONLY?

On Oct 12, 5:36 am, Mark Murphy <mmur...@commonsware.com> wrote:
> For the Intent, use whatever Intent you want to see if somebody will
> receive. queryBroadcastReceivers() is not to find *all* receivers --
> it is to find if anything will receive a broadcast of a specific
> Intent.
>
> For the flags, 0 or MATCH_DEFAULT_ONLY are the two most likely options.
>
>
>
>
>
> On Mon, Oct 11, 2010 at 11:24 PM, zachariahyoung <zpyo...@gmail.com> wrote:
> > I would like to know all of my broad cast receivers.  The above
> > methods should to the trick but I'm not finding any good examples on
> > how to use it.
>
> >        PackageManager packageManager = getPackageManager();
>
> >        packageManager.queryBroadcastReceivers(intent, flags);
>
> > What should enter for intent and flags?
>
> > Thanks
>
> > Zach
>
> > --
> > 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
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android 2.2 Programming Books:http://commonsware.com/books

-- 
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

Reply via email to