Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

where to put 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>
like image 606
Syed Avatar asked May 01 '26 20:05

Syed


1 Answers

This should be in your /res/xml folder.

Here is a sample from ApiDemos: http://developer.android.com/resources/samples/ApiDemos/res/xml/device_admin_sample.html

like image 70
Anirudh Avatar answered May 04 '26 13:05

Anirudh