• Stars
    star
    460
  • Rank 95,202 (Top 2 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created over 9 years ago
  • Updated almost 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Android LockScreen Sample Using Service - Disable HomeButton or HomeKey

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();