How to resolve mobile data connection(2G/3G/EDGE/GPRS) lost in android after coming out from wifi programatically? -


i need fix strange problem appearing in android. notice have full cellular network, data network lost.(not able connect internet although have set properly). possibly occurs after leave wifi. quick fix make working toggle 2g/3g option in settings --> mobile networks, clears network stack , makes working. application, requires connected internet, need fix programatically. cannot toggle code ? or can ?

i read , tried fix rewriting apn settings, not solve issue entirely, move out wifi connectivity. have fix code ?

because of way android networking , security work, there's no way toggle 2g/3g-4g without going settings. "rooted" phones once able this, disabled in 2.1 , higher.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -