In case anyone else comes across this problem, apparently it isn't
possible in current releases - seems like a bit of an oversight for
certain types of application.

Adrian

On Nov 19, 4:31 pm, Adrian Jackson <[email protected]> wrote:
> Is there any way for an application to force a network request to go
> over the mobile network if it's available in preference toWiFi? I'm
> looking at ConnectivityManager#setNetworkPreference, but there's no
> documentation, and looking at the source seems to suggest it's setting
> a global preference somewhere which isn't what's required here - I
> just need to force certain requests that need to go over the mobile
> network to ignoreWiFi.
>
> Adrian

-- 
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

Reply via email to