本文介绍了如何限制Android设备不开某些特定的网站如YouTube,Facebook的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写了Android设备的应用程序,现在我想实现,如果我的应用程序安装在设备上比它仅限于打开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.

由于这个应用程序是为员工和我的客户不希望自己的就业者浪费自己的时间,YouTube或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.

感谢

推荐答案

我不是100%肯定,但你可以尝试在创建条目/ etc / hosts中该装置的文件将用户重定向到另一目的地。你/你的应用程序将需要root权限编辑文件。

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.

旁边的网页浏览器(S),不要忘记检查,如果有可能使用来自市场的Facebook和YouTube应用程序。

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

这篇关于如何限制Android设备不开某些特定的网站如YouTube,Facebook的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-27 14:16