It only works for a broadcast that is sent with sendStickyBroadcast().

On Sat, Feb 5, 2011 at 7:08 PM, AndroidDevTime <androiddevd...@gmail.com>wrote:

> I have seen registerReceiver(null, Intent) can be used to get last
> System level broadcast values such as battery level.  Does this also
> work for custom application Intents?   Lets say I have an application
> Intent called SetOrder and I broadcast this Intent.  Using
> registerReceiver(null, SetOrder) can I get last SetOrder broadcast?
> How does one know if it was really the last one, it it was received
> and processed?  How can you confirm that it was really handed
> somewhere by a broadcast receiver?  Thanks
>
> --
> 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<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



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

Reply via email to