PowerManager is part of the SDK and available to any third-party
application, and can make the device sleep, but cannot just turn off
the screen. Do you want to put the device to sleep, or just the
screen?


Yusuf Saib
Android
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.


On Jul 18, 6:43 am, Yuri Dario <mc6...@mclink.it> wrote:
> Hi,
>
> I'm looking for a way to power off the device screen from my program.
> I see that PowerManager is only for system apps, and I can't find
> other ways.
>
> Can you help me?
>
> thanks,
>
> Yuri
--~--~---------~--~----~------------~-------~--~----~
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