So, I studied many similar questions on the website ( this , this and this and many others). People who want to implement their own lock screen (not to mention widgets). So far, two implementation technologies have been used.
Home screen replacement . In this method, it is proposed to create an application for the home screen, where after unlocking the logic, the default screen appears. I believe that in this situation, the developer should disable the "Home", "Search", "Menu" and "Back" buttons when the lock screen is visible and implement the logic to turn on the screen.
Application . In this technique, a regular application is created where, after unlocking the logic, the default screen appears. I believe that in this situation, the developer should disable the "Home", "Search", "Menu" and "Back" buttons when the lock screen is visible and implement the logic to turn on the screen.
Now I don’t understand what is the difference between the two approaches? The StackOverflow community seems to be more emphasizing the home screen replacement technique. I am very new to Android development, so there may be a flaw in some aspect. Please suggest which approach should be used and why? (also, what is easy?).
Many thanks!
, . / , , .
, , , ( api, ). , ( Google api).
PS: , Jellybean Daydream. . , Jellybean , api.
HTC screenlock api HTC. , , , . , , , , , root . , Google Play. , , ( root), Google Play.