1

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

3
  • Couldn't the user just uninstall that application then? Commented Jun 30, 2011 at 8:47
  • What about installing another webbrowser/facebook/youtube app? Users getting creative :-) Commented Jun 30, 2011 at 8:57
  • @Lasse ... yes it can but then he will lose the saved data and he has to answer about it. He can make some excuse about it one or two times but not daily. Commented Jun 30, 2011 at 10:15

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.