Is there a way to enable or disable tethering (USB or wifi) on an android phone programmatically? Perhaps an API in android SDK or NDK or any even non-UI command to do that.
Thanks in advance.
Is there a way to enable or disable tethering (USB or wifi) on an android phone programmatically? Perhaps an API in android SDK or NDK or any even non-UI command to do that.
Thanks in advance.
Take a look at this question.
Basically there are no public API's to do it. Take a look at the settings app to see how internal apps do it though. Might have some luck with that: