Re: [android-developers] How to check the status of LockScreen

2011-03-02 Thread Rocky
I restructure the code, now its working fine for in HTC & MOTOROLLA, but it is not working in SONY XPERIA X10 On Thu, Jan 6, 2011 at 11:06 AM, Rocky wrote: > My problem is, > > when i'm inside the my apps, and press the power button for lock the > screen, and again press the power button for un

Re: [android-developers] How to check the status of LockScreen

2011-01-05 Thread Rocky
My problem is, when i'm inside the my apps, and press the power button for lock the screen, and again press the power button for unlock the screen, i'm redirecting over the same Activity where i was initially. But, i want, when i press the power button for unlock the screen, needs to go PasswordA

Re: [android-developers] How to check the status of LockScreen

2011-01-05 Thread Rocky
thaks kostya, lets try to do with this. On Wed, Jan 5, 2011 at 8:59 PM, Kostya Vasilyev wrote: > 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 > >

Re: [android-developers] How to check the status of LockScreen

2011-01-05 Thread Kostya Vasilyev
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 ?

Re: [android-developers] How to check the status of LockScreen

2011-01-05 Thread Rocky
any idea for this. I'm trying to handle the Power button nature. My problem is, when i'm inside the my apps, and press the power button for lock the screen, and again press the power button for unlock the screen, i'm redirecting over the same Activity where i was initially. But, i want, when i p

Re: [android-developers] How to check the status of LockScreen

2011-01-05 Thread Rocky
I tryed though PowerManager but can't succeed On Wed, Jan 5, 2011 at 7:26 PM, RKJ (Android developer) < rkjhaw1...@gmail.com> 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 sc

[android-developers] How to check the status of LockScreen

2011-01-05 Thread RKJ (Android developer)
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 PasswordActiv