Android Question Device Admin description line?

Erel

Administrator
Staff member
Licensed User
You should post smaller images.

Try this:
B4X:
AddApplicationText(<receiver android:name="anywheresoftware.b4a.objects.AdminReceiver2"
       android:description="@string/admin_description"
        android:permission="android.permission.BIND_DEVICE_ADMIN">
    <meta-data android:name="android.app.device_admin"
            android:resource="@xml/device_admin" />
    <intent-filter>
        <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
    </intent-filter>
</receiver>)
CreateResource(values, strings.xml,
<resources>
  <string name="admin_description">This is the description</string>
</resources>
)
 
Top