My company wants to distribute tablets to employees for company use only, but wants to set them up with certain permissions, custom applications and a custom launcher.
So I have the basics down as I have an app that will use NFC to provision an new tablet. I've looked through the DevicePolicyManager API page and I'm not seeing some things I want to do. What I'm not sure on is the following so if people can point me in the right direction that would be great!
1) can I use this provisioning process to install a custom launcher and make it the default?
2) can I push multiple corporate apps through this process? i.e. set the EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME property multiple times for all the apps I need installed? Reading the API it sounds like you only set it once.
3) Does the apps being send have to be through a URL or can the original tablet be used to initiate the provisioning process have the apps and they are send through the given API somehow? Right now I am using a URL and have a test app hosted, but if there are other ways that would be great to know.
4) A more basic questions but does it exactly mean to set an app as the device owner? What should this app be doing in relation to the other corporate apps that will be installed? If it's just managing policies then does it ever need to be executed manually or is it always running in a way so policies are set even after a reboot?
5) if some apps want to be in a kiosk mode when executed until a reboot is the proper way to ask the device owner app to call setLockTaskPackages() with the probably app to kiosk?
I probably have more questions, but this is all I can think of for now. Thanks for any answers.