Switching between networks

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

Switching between networks

Postby arvchak » Thu Jan 29, 2009 7:58 am


I am trying to find a way to switch between networks according to priority.i.e if i find Wifi enabled then i should connect via Wifi if it fails then the alternative to it should be Edge if not the local mobile dialing.

After researching i have found that there is something called Connectivity Manager,
in which i can use the method

requestRouteToHost(int networkType, int hostAddress) this will return true or false based on which i can use the alternative type.I would like to know whether this methodology is correct,Also want to know if the android by default has this feature.

User avatar
Posts: 37
Joined: Thu Dec 11, 2008 7:38 am


Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 2 guests