Device Administration Android

I’m developing an android app using openfl and I need to get permission administration on device for I can do the auto update from my app.
searching for solutions, I found that I can to recive the device administration in as this link:
http://developer.android.com/intl/pt-br/guide/topics/admin/device-admin.html#developing

But, I don’t have idea how I can to make this using openfl.

You can define permissions from project.xml:

<config:android permission="android.permission.BIND_DEVICE_ADMIN" />

However, to set up an intent filter, you’ll need to override AndroidManifest.xml.

I put the permission android in the AndroidManifest.xml, as the link http://developer.android.com/intl/pt-br/guide/topics/admin/device-admin.html#code

but I need to put this:

<receiver android:name=".DeviceAdministrationReceiver" android:label="@string/sample_device_admin" android:description="@string/sample_device_admin_description" android:permission="android.permission.BIND_DEVICE_ADMIN"> <meta-data android:name="android.app.device_admin" android:resource="@xml/device_admin_sample" /> <intent-filter> <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> </intent-filter> </receiver>

and create the files:

res/values/strings.xml
res/xml/device_admin_sample.xml

for to open the resquest permission:

so how to put the files in android path “res” ?

<template path="templates/strings.xml" rename="res/values/strings.xml" />
<template path="templates/admin.xml" rename="res/xml/device_admin_sample.xml" />