Android LockScreenSample Using Service - Disable HomeButton Key Event LockScreenSample use Android Service. So, Ignores HomeButton Key Event.
Current version: [1.0.2]
Gradle:
compile 'com.github.dubulee:lockscreendiablehomebuttonkey:1.0.2'
As there are a lot questions about "how to disable home button in android?" on Stack Overflow
, such as
- how to disable home button in android?
- Android - Is It possible to disable the click of home button
- How to disable Home and other system buttons in Android?
This Sample support UnSoft Home Key(UnVirtual Home Key) like Samsung Galaxy And Soft Home Key(Virtual Home Key) like LG G, Google Nexus.
This Sample is similar to Microsoft corp. - Next Lock Screen, KaKao corp. - KaKaoTalk Notification Cover
Test Samsung Galaxy,LG G, Nexus5
###UnSoftKey - Test Samsung
###SoftKey - Test LG G, Nexus5
Test Start
Lockscreen.getInstance(ContextInstance).startLockscreenService();
Test Stop
Lockscreen.getInstance(ContextInstance).stopLockscreenService();