Android Question Device Admin description line?

Erel

B4X founder
Staff member
Licensed User
Longtime 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>
)
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…