I basically want how to stop all other applicationa when my specific apllication is running. It's like in a BITSAT exam, when we log on for the quiz we cannot access internet and we can't access any drives of the computer. So I bascially want that interface to work on my Android, is there any way to do that?
This is called Kiosk Mode which is hot these days. Try SureLock Kiosk Lockdown app. You can try searching "Kiosk" in Play Store, too.
If you're on Lollipop, its easy to lock down the app. If you're on an earlier version of android, you need to:
More on this here: How-To create Kiosk Mode
I don't believe Android works this way. If you have a task manager of some sort, you can shut down all open applications, but some will automatically come back. Its just the way it is and how Android works. Somebody correct me if I'm wrong? And If I understand the question?
To achieve such a situation, user needs to awake its developer mode. There is an option related to apps. Background Process limit : There you can set how many apps be in background and do you want to leave them.
But proceed with CAUTION! on these settings.
Click to enlarge
Google recently released the Android Management API which allows to easily manage Android devices, lock them on a single application and set various other policies.