I have registered for SCREEN_ON intent.
 
In the alarm-manager, I grab a wake_lock with 

*FULL_WAKE_LOCK* flag and that switches on the screen.
 
This sends a SCREEN_ON intent.
 
In the meanwhile, the user could also have switched on the screen.
 
I want to handle this intent in different ways, depending on where it 
originated from.
 
 

On Tuesday, April 3, 2012 2:02:57 PM UTC+5:30, TreKing wrote:

> On Tue, Apr 3, 2012 at 2:29 AM, Put_tiMe <putt...@gmail.com> wrote:
>
>> Is there anyway I can distinguish between the two intents?
>
>
> If you explain why you need to distinguish, maybe you'll get a hand in 
> employing a solution to the actual problem you're having.
>
>
> -------------------------------------------------------------------------------------------------
> 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

Reply via email to