"Code induced screen-on is initiated from Alarm-manager. " This is what you said,so you can put your key here.
If still you are not getting just putup your code. or write detail flow !! Thanks & Regards, Deepchand Singh +91-9868522870 On Apr 5, 12:44 pm, Put_tiMe <putt...@gmail.com> wrote: > No no, I don't broadcast "screen on" intent. > It's done by the OS. > > > > > > > > On Thursday, April 5, 2012 12:27:54 PM UTC+5:30, Deep wrote: > > Hi, > > > One possible solution for this can be : > > > When you broadcast "screen-on" intent through your code, put an extra > > key kind of flag contains is from code and value is true. > > So, when you receive this intent and if it contains that flag key it > > means that it is sent from program else "screen-on" done by user > > manually. > > > Hope it works ! > > > Thanks & Regards, > > Deepchand Singh > >+91-9868522870begin_of_the_skype_highlighting +91-9868522870 > > > On Apr 4, 12:06 pm, Put_tiMe <putt...@gmail.com> wrote: > > > 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