How to make my app a device owner?
The device policy manager API docs and the android 5.0 overview both mention something about a device owner app . How can I setup my app as a device owner ? Edit: Is there any other ways than rooting and NFC if available please share. Florent Dupont There's actually a way other than NFC and rooting to set an application as a device owner app. You could use the dpm command line tool from an adb shell . Usage : usage: dpm [subcommand] [options] usage: dpm set-device-owner <COMPONENT> usage: dpm set-profile-owner <COMPONENT> <USER_ID> dpm set-device-owner: Sets the given component as active admin