Wednesday, March 16, 2011

Re: [android-developers] Any ACTION_SCREEN_ON useable replacement?

How about:

http://developer.android.com/reference/android/content/Intent.html#ACTION_USER_PRESENT

?


16.03.2011 13:29, Marcin Orlowski пишет:
Hi,

My app shows some info in notification area and I wanted to update this info once screen gets on. While ACTION_SCREEN_ON looked promising it did not work at all so, as documentation is not helpful on this (when there will be option to add comments to the SDK documentation?!) I checked Android source to find out that this broadcast is for registered receivers only. Anyone got idea how could I sort that out w/o firing frequent alarm and other battery draining things?

Regards,
Marcin Orlowski

Tray Agenda for Android

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


--  Kostya Vasilyev -- http://kmansoft.wordpress.com 

No comments:

Post a Comment