hmm-umm / Android-LockScreenSample-DisableHomeButtonKey

Android LockScreen Sample Using Service - Disable HomeButton or HomeKey
Apache License 2.0
460 stars 126 forks source link

not sure how to use stopLockscreenService #17

Open fonko opened 5 years ago

fonko commented 5 years ago

i have started a new project just to test this library

protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Lockscreen.getInstance(getApplicationContext()).startLockscreenService(); }

i'm able to see that if i turn my screen off and then on this activity goes on top of all but home button and back button are working :(

please kindly explain how to use it, and hanks for your work it's awesome !

fonko commented 5 years ago

ok i manage to make it work... great stuff thanks buddy!

will let you know if something else happends

fonko commented 5 years ago

actually i have one question, is it possible to override your lock activity to show my own "designed" activity?

my main activity is exactly same as yours (i copied and pasted)