You can use the same shared user ID as the device owner app. In this case you can use the device policy manager functions.
1. Sign your application with the same keys as the Headwind MDM mobile agent
2. Add the following attribute to the manifest tag of your app's AndroidManifest.xml:
android:sharedUserId="com.hmdm"