/Android-LockScreenSample-DisableHomeButtonKey

Android LockScreen Sample Using Service - Disable HomeButton or HomeKey

Primary LanguageJavaApache License 2.0Apache-2.0

LockScreenSample-Disable HomeButton or HomeKey Event

Android LockScreenSample Using Service - Disable HomeButton Key Event LockScreenSample use Android Service. So, Ignores HomeButton Key Event.

Download

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

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

ScreenShotScreenShot

###SoftKey - Test LG G, Nexus5

ScreenShotScreenShot ScreenShot

How to use

Test Start

Lockscreen.getInstance(ContextInstance).startLockscreenService();

Test Stop

Lockscreen.getInstance(ContextInstance).stopLockscreenService();