- Home /
Unity Android Home Button Lock(Disable Functionality)
Hi,
I'm working on a unity application in which I'm required to override Home Button functionality in Android. To be more detailed about this, the requirement is as follows:
User opens application
He choses the current application as default application to be displayed on Pressing Home Button
After this if user ever presses Home Button, It will not navigate to Home screen but stay in the application
On clicking a button inside application, it should again set the Home screen as default home button navigation and exits app
This feature has been implemented in Android in 'Toddler Lock' app. But I think they did it natively using Android SDK. I don't have any idea, wether this functionality is feasible in Unity or not ?
Any help will be greatly appreciated.
Thanks