On Fri, Jul 29, 2011 at 3:38 PM, Ellen <[email protected]> wrote: > thanks for your response :) > > Sorry, I didn't described clearly. What I was mean the way PC connect > to internet via android USB is by programing. > So, is there API or something could do this? >
Do you mean an API to disable or enable tethering on the device? I don't think there are any public APIs, but you could look at the source to see how the Settings app does it. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

