I am writing an android application using LibGdx. My question is can I lock Android device. То be active only this app.
Asked
Active
Viewed 98 times
0
-
Do you mean prevent the home and task manager buttons from working, and block incoming calls and the notification bar? If so, no you can't do this in any Android app. – Tenfour04 Aug 08 '14 at 13:30
-
Yes. I mean to use the device only in this one app. – Bigfoot Aug 08 '14 at 13:45
-
perhaps kiosk mode ??? – Bigfoot Aug 08 '14 at 14:32
1 Answers
1
This isn't a Libgdx question, but an Android platform question.
"Locking" an Android device generally means using the lock screen to prevent access to the device. What you are asking for is more of a "Kiosk" mode. Since this feature would also enable ransomware, its generally not allowed. More details here: Kiosk mode in Android
-
-
Now I have the following problem about one time selected default action "Home" button to change it programming way from app. If anyone has an idea? – Bigfoot Aug 12 '14 at 10:58