Oh that's fine. But is there a run-time solution? I mean maybe we can just modify something at /sys or /dev at run-time? I don't quite understand how ConnectivityManager determines whether there is a Wi-Fi or GPRS/3G connection.
On Oct 3, 9:59 am, Nikolay Elenkov <[email protected]> wrote: > On Sun, Oct 2, 2011 at 10:36 PM, Cyker Way <[email protected]> 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 ConnectivityManagerService (or whatever the actual name is) > to return 'connection available' when your tethering is active. -- 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

