Controlling other android apps


Hi, my project is a system that makes children do some activity movements in order for them to play with their tablets. The application should prevent the child from using any other app until he finishes the needed activity. I am using an Arduino controller to measure the movement and then sent the result to the tablet, the application then allows the child to play with his tablet. Now, I finished the hardware part which is the controller and sensors, but I did not start with the android app. I do not know how to start, how to make my app control other apps


See if you can listen to when other apps are open and do something that crashes them? Or just as app lock does, bring up an activity when they observe something like this I/ActivityManager( 585): Starting activity: Intent { action=android.intent.action...} in the logcat. You can see more by googling and reading this: