user597385
user597385

Reputation: 51

Block an android device

I'm developing an app for Android Tablet PC and I need to allow user to run only exact applications. 1. Is there any way to deny other applications execution? 2. Is it possible to show some block screen with password prompt and deny user to run anything until the authentication will be passed?

Unfortunately I haven't find any info :(

Upvotes: 1

Views: 713

Answers (2)

levis501
levis501

Reputation: 4207

You would have to write a replacement for the launcher & app drawer so that you can manage the application launch process. There is a demo for creating a launcher in the SDK, and a short thread about it here

Upvotes: 0

D.R.
D.R.

Reputation: 1219

If you're talking applications (and not just activities within an application) then it would not be "safe" for google to allow you to block other programs from running. If you had your own (non-stock) version of Android that you were deploying on company devices for example, then perhaps you could do that, but if you're just making an app, it would not be wise to have an app prevent other ones from running. You could perhaps set up some kind of shared memory resource with some flags that other apps could look at upon launching to see if they should proceed or not, but that is about it.

Upvotes: 2

Related Questions