Remove screen lock like the MENU key do?

by andrew » Wed, 27 May 2009 15:05:53 GMT


Sponsored Links
 The lock screen is also a java class called LockScreen.java.In this
class,it captures the event of  MENU key, so if the screen is
locked,we can click the MENU key to remove the lock.
The qustion of mine is that How Can I remove the lock like MENU key
do??Is that possible?
(I know KeyguardManager and KeyguardManager.KeyguardLock,but this is
not the right way,I want to remove,not to hide!).
--~--~---------~--~----~------------~-------~--~----~



Remove screen lock like the MENU key do?

by andrew » Thu, 28 May 2009 00:42:55 GMT


 Oh,my God,nobody give me a help.
Maybe it is not possible to do this??
--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Remove screen lock like the MENU key do?

by Walter » Fri, 29 May 2009 02:30:30 GMT


 I'v been looking for this too, seems no way to do it for now




--~--~---------~--~----~------------~-------~--~----~



Remove screen lock like the MENU key do?

by Walter » Fri, 29 May 2009 02:33:42 GMT


 I've been looking for this, as my research, no way to do it for now.




--~--~---------~--~----~------------~-------~--~----~



Remove screen lock like the MENU key do?

by andrew » Fri, 29 May 2009 23:47:58 GMT


 


Thanks for Walter !
I have been looking into the source code,and did'nt find there has a
way to do this too!
Maybe it is true that we can't remove the lock in our application as
now as we know.
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. layout on top of the InCallScreen

Hi, i use the PhoneStateListener to listen for the call.
When i receive ringing state, i tried to launch an intent to run my
app.
but i noticed that my app is go behind the InCallScreen.
I've tried using delay time to make the InCallScreen pop up first,
then launched my app, but still cannot replace on top of the
InCallScreen layer. I have to hang up the call in order to see my app.
Could someone help me?
Thanks >.<

-- 

2. geo fix in emulator - strange pattern in gps fix timestamps

Hi,

I am trying to implement some functionality using GPS in Android
emulator. To set my current position I am using geo fix command
invoked after telneting to localhost 5554. To fulfill my requirements,
after receiving GPS location I am checking its timestamp (using
location.getTime()) to invoke some action when location fix is older
than 10 minutes.

My intuitive assumption was that the timestamp is set to the time of
invoking geo fix command in the emulator. Unfortunately it works in
the following way: year, date and month are set for the current day,
hours and minutes are zeroed and seconds are set as a sequence number
increased after every invocation of geo fix command starting from 0
(from midnight). For example when running my application today i get
the following values:

I invoke geo fix for the 1st time and location.getTime() returns:
1271030400000, which means Mon, 12 Apr 2010 00:00:00 GMT
I invoke geo fix for the 2nd time and location.getTime() returns:
1271030401000, which means Mon, 12 Apr 2010 00:00:01 GMT
I invoke geo fix for the 3rd time and location.getTime() returns:
1271030402000, which means Mon, 12 Apr 2010 00:00:02 GMT
I invoke geo fix for the 4th time and location.getTime() returns:
1271030403000, which means Mon, 12 Apr 2010 00:00:03 GMT
...

This behaviour means that I can test positive scenario in my
application only in first 10 minutes after midnight everyday, which is
quite inconvenient for me ;) Any idea how can I solve that problem?

Thank you for your help,
Lukasz.

-- 

3. How to set PIN code(in SIM card) ?

4. Search Activity / Suggestion Provider affects Parent Activity Lifecycle

5. ContextMenu for WebView

6. Search Activity affects Parent Activity Lifecycle

7. How to send KeyEvents through an input method service to a Dialog, or a Spinner menu?