Rocky,

PowerManager has to do with electric power, not with the power to unlock the screen.

Try this one:

http://developer.android.com/reference/android/app/KeyguardManager.html

( although I don't know if what you're trying to do is at all possible )

-- Kostya

05.01.2011 17:07, Rocky ?????:
I tryed though PowerManager but can't succeed

On Wed, Jan 5, 2011 at 7:26 PM, RKJ (Android developer) <[email protected] <mailto:[email protected]>> wrote:

    Hi All,

    my issue is, when i'm inside the my apps, and press the power button
    to screen lock (in desire), and again press the power button to unlock
    the screen, i'm redirecting to that page earlier i was.

    But I want, when i press the power button to unlock the screen, i need
    to to my PasswordActivity class everytime.

    How to change the behaiour of lock screen in this case.

    Thanks in advance.

    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to
    [email protected]
    <mailto:[email protected]>
    To unsubscribe from this group, send email to
    [email protected]
    <mailto:android-developers%[email protected]>
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en




--
Thanks & Regards

Rakesh Kumar Jha
Software Developer
Symphony Services Corp (India) Pvt Ltd
Bangalore
(O) +918030274295
(R) +919886336619

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to