Is it possible to force an Android application to use only the mobile radio connection (3g/4g/etc), disallowing the use of WiFi?
I think I want to use a HIPRI conne
In Android 2.2 you can use high-priority mobile data at the same time as WiFi. The value of the "feature" parameter is "enableHIPRI", and is hidden in the Phone API.
Method: ConnectivityManager.startUsingNetworkFeature(int networkType, String feature) of http://developer.android.com/reference/android/net/ConnectivityManager.html
Source: http://code.google.com/p/android/issues/detail?id=5885
You could check this other answer: https://stackoverflow.com/a/4756630/327011
This is NOT a good policy...use it if REALLY needed!