please let me list the steps for this feature: 1. connect Android device to a PC via USB 2. a list view display on device side to give some choice, one of the choice is "share internet from device" 3. when choose this "share internet from device" choice, (precondition is the device already connected to internet, and PC couldn't) 4. maybe a desktop app needed to make such configuration
On 7月29日, 下午4时18分, Nikolay Elenkov <[email protected]> wrote: > 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

