Wednesday, April 9, 2014

android how to unlock automatically, and automatically open the application?


Like that: I want to achieve when android emulator automatically unlock when turned on and unlocked automatically open the specified application, how to achieve both at the same time, I am a rookie, understand heroes help out, preferably with the code can run.
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:

frameworks \ policies \ base \ phone \ com \ android \ internal \ policy \ impl \ KeyguardViewMediator.java class 858 lines handleShow (); code commented out, there would be a lock screen
Reply:
Section 858
frameworks \ policies \ base \ phone \ com \ android \ internal \ policy \ impl \ KeyguardViewMediator.java class:
cited a floor coolisher reply OK handleShow (); code commented out, there would be a lock screen


Does not automatically unlock the lock screen
Reply:
In the frameworks folder of your search about LockScreen.java file, which is related to the method of reconciliation screen lock screen. I do not remember specifically what the ~ ~
Reply:
LockScreen.java documents in the relevant methods of reconciliation screen lock screen is not very clear, please enlighten me
Reply:
reference to the third floor kaixinwenxia reply:
in your frameworks folder found some related methods LockScreen.java file, which is the reconciliation screen lock screen. I do not remember specifically what the ~ ~


Related to the framework, the framework is not gotta go and change the code?
Reply:
references, 5th Floor aidesudi reply:
reference to the third floor kaixinwenxia reply:
In the frameworks folder of your search about LockScreen.java file, which is related to the method of reconciliation screen lock screen. I do not remember specifically what the ~ ~


Related to the framework, the framework is not gotta go and change the code?

Ah, sorry ah, I recently also get the lock screen issue is still under study, this code is a bit confusing, huh ......
Reply:
references, 4th Floor lookgz reply:
LockScreen.java documents in the relevant methods of reconciliation screen lock screen is not very clear, please enlighten me

After starting the system successfully SystemServer call wm.systemReady () notification WindowManagerService, and then call PhoneWindowManager, ultimately through LockPatternKeyguardView display the unlock screen
Reply:
Haha, I know you want to do, you run the app you spend money, you also find loopholes is not it? Success yet?

No comments:

Post a Comment