How do I enable/disable USB tethering on android 5.1.1 programmatically?

4.7k views Asked by At

I need a way to enable/disable tethering via API. Most of the solutions posted here have been applicable to android 4.4 or below.

I've already gone through the following solutions (none worked):

I'm aware that the API supporting this is typically only for system apps (regular apps don't have the MANAGE_USB permission), but is there any way to go about this for android 5.1.1?

0

There are 0 answers