I want to write an app that manages the Android iptables (something like DroidWall) without rooting the device. What kind of "device administrator rights" I have to give to my app in this case?
As an example, the following resource file gives my app the right for deleting, modifying or reading anything in the root directory except system:
<device-admin xmlns:android="http: //schemas.android.com/apk/res/android">
<uses-policies>
<wipe-data />
</uses-policies>
</device-admin>
What kind of resource file I have to write in order to give my application the rights to alter the Android iptables?