Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Block/unblock an application from my application: Android

I want to block/unblock (where user can not use/access the blocked application) some application in an android device from my application. But I couldn't find any solution/ idea about this.

I read Android how to programmatically hide launcher icon, but this hide the application launcher icon of same application.

How can I do this? Please share some idea/links about this.

like image 629
Android Learner Avatar asked Jul 12 '12 14:07

Android Learner


1 Answers

Start a Service Using Alarm Manager on every second Inside Service You have an array of Installed app and now you detect Top most App is running Top Task match with your array of application than you launch your Protector

I have Done already

like image 171
Ravi Avatar answered Oct 06 '22 02:10

Ravi