I haven't tried this yet, but take a look at the KeyguardManager
class.

On May 9, 5:09 pm, jenom <neu...@googlemail.com> wrote:
> Hello,
>
> I'm currently implementing a live wallpaper. This is also visible,
> when the device is locked. Now I want to show different content, when
> it is locked but can't find a way to detect this. PowerManager can
> only change the settings and the wallpaperEngine only gives me a
> general onVisibiltyChanged() method, which triggers every time you
> return to the home screen.
>
> Dos anybody know a way to detect if the device is locked?
>
> Thanks!
>
> --
> 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 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
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