Re: [android-developers] Android USB reverse tethering: How to fool the apps

2011-10-02 Thread Nikolay Elenkov
On Sun, Oct 2, 2011 at 10:36 PM, Cyker Way wrote: > So the question is: How can I hack the system to let this network > connection check return success (so that I can fool these apps)? > > BTW. I use Cyanogenmod 7. And any solution specific to this MOD is > also welcome. > Modify ConnectivityMan

[android-developers] Android USB reverse tethering: How to fool the apps

2011-10-02 Thread Cyker Way
USB reverse tethering = Cellphone gets network connection from PC via USB. I know how to do USB reverse tethering except for one problem: Many Android apps will check network connection using the code below before doing any useful work: ConnectivityManager connectivityManager = ConnectivityManage