将device_admin_sample.xml放在哪里? [英] where to put device_admin_sample.xml?
本文介绍了将device_admin_sample.xml放在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在何处放置" device_admin_sample.xml ",无论我在何处放置它,都会出错.
where to put the 'device_admin_sample.xml', its giving error wherever I put it..
device_admin_sample.xml
<device-admin xmlns:android="http://schemas.android.com/apk/res/android">
<uses-policies>
<limit-password />
<watch-login />
<reset-password />
<force-lock />
<wipe-data />
</uses-policies>
</device-admin>
推荐答案
这应该在您的/res/xml文件夹中.
This should be in your /res/xml folder.
以下是ApiDemos的示例: http://developer.android.com/resources/samples/ApiDemos/res/xml/device_admin_sample.html
Here is a sample from ApiDemos: http://developer.android.com/resources/samples/ApiDemos/res/xml/device_admin_sample.html
这篇关于将device_admin_sample.xml放在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文