My App uses a DevicePolicyManager. If my users want to uninstall the app they have to do following steps:
SETTINGS -> Location and Security-> Device Administrator
deselect my App and then thay can uninstall it
I think that is not a good solution for a Play Store app. Can I do these steps for my users in the code so they can uninstall my app easily from their launcher?
Yes you can. Do it like this: