• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Android launcher(Android Studio) : prevent access to some package

Waggos

Lurker
Hi,



I 'm actually programming an Android launcher for children. I've successed to create a database and only show app I have authorized. The problem is in Navigation bar when you swipe down, you can acess to the setting app ( see picture below).



579x362




Is there is a way to override this button ? Or maybe to filter every packages sent from my launcher and check if there are authorized. I've tried Services, Broadcast receiver, onUserInteraction().



Can you please help me ?

Thanks.
 
So I've managed to find a solution.

I've created an Async task that check what app is in foreground.

If I don't want user to get on this app, I will send it to back to my launcher main screen.
 
Back
Top Bottom