tyczj
tyczj

Reputation: 73996

Binding to a DeviceAdminService and calling its methods

I have a device admin app that is the device owner and I want to bind to the DeviceAdminService class that the admin app has from another app.

The problem is that the DeviceAdminService class has onBind set to final so I cannot override it like you can with normal service to set my service class as the binder to be able to call the methods of my service class from another app.

How can I bind to this service class in another app so I can call my service methods when I cannot override the onBind?

Upvotes: 0

Views: 94

Answers (0)

Related Questions