You no longer need to implement Device Policy Controller to manage your Android devices, Google recently released the Android Management API , which allows you to configure your COSU device with just a few Cloud API calls.
, , , ( ). , statusBarDisabled
, , .
"applications": [
{
"packageName": "com.example.app",
"installType": "FORCE_INSTALLED",
"lockTaskAllowed": true,
"defaultPermissionPolicy": "GRANT",
},
"persistentPreferredActivities": [
{
"receiverActivity": "com.example.app/.com.example.app.MainActivity",
"actions": [
"android.intent.action.MAIN"
],
"categories": [
"android.intent.category.HOME",
"android.intent.category.DEFAULT"
]
}
],
"statusBarDisabled": true