I'm building an android app for a custom android device bought for a business point-of-sale. We want customers to use our android device and app without being able to interact with the android system in any way. This means no navigation bar with back, home and overview buttons, no notification bar or any other way to interact.
- I checked out some possibilities such as sticky immersive mode (https://developer.android.com/training/system-ui/immersive.html), but this still enables the user to swipe down the notification bar.
- I checked out if I could replace the Launcher (Android: Prevent users from launching apps or using the OS), but this leads to the same problems as above.
- I checked some other options to hide back buttons etc. (How to set activity to fullscreen mode in Android?), but when text fields are clicked, the back button still reappears.
Bottom line, all of the solutions proposed still enable the users to interact with the operating system one way or another. How do I prohibit any interaction at all with the underlying OS, i.e. by only allowing the user to use a custom created back button? Preferably without having to root the devices.
Thanks for the advice.
Try set up Your Android device as corporate-owned, single-use (COSU) device. You can find Official documentation here and tutorial with source code here.