Azhar
Azhar

Reputation: 20670

How to restrict Android device to not open some specific site e.g.youtube, facebook

I am writing an application for Android devices, Now I want to implement the functionality that if my application is installed on the device than it is restricted to open youtube or facebook.

Because this application is for employees and my client do not want that his emplyees waste their time in youtube or facebook. I tried to find some help on google but received no good source.

thanks

Upvotes: 1

Views: 1110

Answers (1)

Milde
Milde

Reputation: 2254

I'm not 100% sure, but you could try creating entries in the /etc/hosts file of the device to redirect the user to another destination. You/your app will need root privileges to edit the file.

Beside the webbrowser(s), don't forget to check if it's possible to use the facebook and youtube apps from the market.

Upvotes: 1

Related Questions