I thought that was one that ordinary SDK apps couldn't hold, but puttering around suggests that I may be mistaken.
Thanks! On Mon, Feb 7, 2011 at 12:51 PM, AndroidWorkz <[email protected]> wrote: > @Mark, > They can send sticky broadcasts but you have to request permission in > your manifest > > http://developer.android.com/reference/android/Manifest.permission.html#BROADCAST_STICKY > > Shawn > > On Feb 6, 8:25 am, Mark Murphy <[email protected]> wrote: >> Actually, I'm fairly certain that SDK apps can't send sticky >> broadcasts, as I looked into doing that once. >> >> >> >> On Sun, Feb 6, 2011 at 2:31 AM, Dianne Hackborn <[email protected]> wrote: >> > It is nothing complicated. It is just the last Intent that was sent with >> > sendStickBroadcast() that matches the IntentFilter you are using. (If >> > there >> > are multiple matches, it is randomly one of them.) >> > That said, I would generally discourage third party apps from using sticky >> > broadcasts. You can accomplish the same thing other ways, and they are >> > generally cleaner. >> >> > On Sat, Feb 5, 2011 at 7:49 PM, AndroidDevTime <[email protected]> >> > wrote: >> >> >> ok, so I can use sendStickyBroadcast(). Just wondered how much I >> >> know about the delivery of the latest broadcast that I get back this >> >> way. Is there any way to know if it was processed? or do I need to >> >> send a confirmation broadcast? What do I know for sure about the >> >> broadcast that i get back from registerReceiver(null, Intent). Was >> >> this the last Intent that was sucessfully delivered to all broadcast >> >> receivers, or was it the last one that where sendStickBroadcast was >> >> called? >> >> >> On Feb 5, 7:27 pm, Dianne Hackborn <[email protected]> wrote: >> >> > It only works for a broadcast that is sent with sendStickyBroadcast(). >> >> >> > On Sat, Feb 5, 2011 at 7:08 PM, AndroidDevTime >> >> > <[email protected]>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 >> >> > > [email protected] >> >> > > To unsubscribe from this group, send email to >> >> >> > > [email protected]<android-developers%[email protected]> >> >> > > For more options, visit this group at >> >> > >http://groups.google.com/group/android-developers?hl=en >> >> >> > -- >> >> > Dianne Hackborn >> >> > Android framework engineer >> >> > [email protected] >> >> >> > 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 [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 >> >> > -- >> > Dianne Hackborn >> > Android framework engineer >> > [email protected] >> >> > 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 [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 >> >> -- >> Mark Murphy (a Commons >> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy >> >> Warescription: Three Android Books, Plus Updates, One Low Price! > > -- > 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 > -- 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 *Advanced* Android Development_ Version 1.9 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

