Toddler proof Android App (Restrict functionality)

I’ve made a simple app that plays different songs for my daughter when she clicks on different pictures, but she keeps accidentally exiting the app or muting the volume.

Is there a way to add the ability through code to disable the home button and volume buttons on an android device from inside a Unity App? IPhones have a feature called Guided Access that you can apply to any app, but Android seems to lack this functionality, so I wanted to add it to my app.

You’ll have to write a plugin to override the button functionalities.

https://docs.unity3d.com/Manual/PluginsForAndroid.html

http://stackoverflow.com/questions/2874743/android-volume-buttons-used-in-my-application