Deepak
Deepak

Reputation: 1258

Require password to run certain apps?

I would like to try and implement the feature provided in this app

That is the user should enter a password to run certain apps. I am not sure in which direction to proceed.

Upvotes: 3

Views: 1038

Answers (2)

Nikolay Elenkov
Nikolay Elenkov

Reputation: 52956

Not possible on a stock device. Best you can do is write a custom launcher that requires password to runs certain apps. The user can always change the launcher to the stock one, so not really useful as a security feature. Might work if you want to stop your (young) kids from accessing your Gmail, etc. though. There are certain hacks that make it look doable, but nothing is reliable.

Upvotes: 0

baldguy
baldguy

Reputation: 2082

I think there must be service running in background.If it finds any new activity starting then check whether it is password protected if yes then it will display security screen.

Upvotes: 1

Related Questions