Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android USB debugging with PC internet connection

I'm having Samsung Galaxy S phone.

I want to debug my application, which needs internet connection.

can I debug my app with android device, sharing the PC internet connection through USB?

I can not use WiFi.

Please help me out. Thanks in advance

like image 971
pavan Avatar asked Aug 19 '11 09:08

pavan


1 Answers

Getting the internet from your PC to your android device is called reverse tethering. It is tricky cause it s not a built in feature. Some solutions exist if your a linux user :

http://blog.mycila.com/2010/06/reverse-usb-tethering-with-android-22.html

Previous link is dead, found a copy there:

https://web.archive.org/web/20120320173806/http://blog.mycila.com/2010/06/reverse-usb-tethering-with-android-22.html

Don't know if it's still relevant the question is old considering Android lifetime.

If you are not, well I never find a way.

like image 125
mthpvg Avatar answered Oct 13 '22 12:10

mthpvg