dxjia / Android-LockScreenSample-DisableHomeButtonKey

Android LockScreen Sample Using Service - Disable HomeButton or HomeKey

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.1]

Gradle:

compile 'com.github.dubulee:lockscreendiablehomebuttonkey:1.0.1'

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 NextLock, DaumKaKao 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();

Customization

Welcome any Modification

You customize lockscreenunsingservice.lib files

License

Copyright 2015 DUBULEE

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Android LockScreen Sample Using Service - Disable HomeButton or HomeKey

License:Apache License 2.0


Languages

Language:Java 100.0%