Android Question [SOLVED]How can I trap the error when a wrong lock screen code is used.

Zvi

Member
Licensed User
I've made an app with phone owner's name, email and alternate contact number to be accessed if the phone is lost.
The app includes both main screen and home screen widget and a click on either will call and also send an sms to the alternate contact number.

Now I would like the app/widget to appear when a wrong lock screen code is entered (or even when the wrong code is entered more than x times).

What is the best way to do that?

Thanks for any suggestions...
 

DonManfred

Expert
Licensed User
Longtime User
What is the best way to do that?
i don´t think there is way at all. You get no notification about a wrong entered code.
 
Upvote 0

Zvi

Member
Licensed User
But doesn't a wrongly entered code generate an error?
If so, isn't there a service that can listen for that error?
 
Upvote 0

wes58

Active Member
Licensed User
Longtime User
Upvote 0

Zvi

Member
Licensed User
Thanks for the info. I'm going to play around with this a bit and if I make any progress I'll post the code.
 
Upvote 0
Top