One solution I've found is to use SharedPreferences
to pass data from a DeviceAdminReceiver
class to an Activity
class.
I'm sure there are other working solutions that other experienced developers can post in this thread to share with everyone.