For example, it's for promotions or events. Therefore I want users not able to leave our app. For iOS, i guess I can make a frame to physically block the main button. But for Android, i don't know how.
Asked
Active
Viewed 51 times
2
-
you need a kiosk mode – Blackbelt Jul 03 '14 at 10:32
-
If you know which device you have, you can block the navigation buttons as well. – WarrenFaith Jul 03 '14 at 10:32
-
@blackbelt if he talks about a "physical frame" to block the iOS home button, the same would be possible for an Android device. You just need to block the on screen system navigation bar. – WarrenFaith Jul 03 '14 at 10:35
1 Answers
0
This is currently not possible. It is scheduled to be included in the upcoming L release. See Task locking.
"The L Developer Preview introduces a new task locking API that lets you temporarily restrict users from leaving your app or being interrupted by notifications. This could be used, for example, if you are developing an education app to support high stakes assessment requirements on Android. Once your app activates this mode, users will not be able to see notifications, access other apps, or return to the Home screen, until your app exits the mode."

Litrik De Roy
- 823
- 5
- 9