I am wondering if it is possible to develop an Android application that will run in kiosk mode. The idea is that the user should be able to interact with the phone through this application.
I understand that the application can be automatically restarted, and things like refusing incoming calls can be implemented through a service that will subscribe to telephony events and hang up when an incoming call arrives. The disadvantage of this is that the normal answer-response screen will appear for a short period of time. The reason for this is because the Android Android app that receives incoming calls will still be there.
I also understand that by design, this user application can be killed at any time by the OS if memory usage becomes too low. Although this should only happen if there is a memory leak in any of the running applications.
I am not sure that it would be possible to disable the behavior of physical buttons to access the home screens or settings.
I understand that rooting a device and / or creating a custom ROM with changes would be safer but more complicated. I am wondering if kiosk mode can be implemented well enough with the Android app.
PS: I apologize for repeating these questions, but the answers to such questions are not clear enough.
android
foolano
source share