Sorry, a slight correction: If it's a code induced screen-on, I want to switch bluetooth on/off (toggle). If it's a user induced screen-on, I want to switch bluetooth on. Code induced screen-on is initiated from Alarm-manager.
On Wednesday, April 4, 2012 12:26:49 PM UTC+5:30, Put_tiMe wrote: > If it's a code induced screen-on, I want to switch bluetooth off. > If it's a user induced screen-on, I want to switch bluetooth on. > > > On Wednesday, April 4, 2012 10:10:09 AM UTC+5:30, TreKing wrote: > >> On Tue, Apr 3, 2012 at 4:21 AM, Put_tiMe <putt...@gmail.com> wrote: >> >>> I want to handle this intent in different ways, depending on where it >>> originated from. >> >> >> You still didn't explain *why*. >> >> >> ------------------------------------------------------------------------------------------------- >> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago >> transit tracking app for Android-powered devices >> >> -- 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