[android-developers] Re: How to force use only gprs even though wifi is available
Yes you are right, But thing is my application itself making wifi on. Is it not possible to on wifi and gprs at a time? On Apr 14, 2:34 pm, Kostya Vasilyev kmans...@gmail.com wrote: You can disable WiFi by calling WifiManager.setWifiEnabled(false). Just don't forget to tell the user you're doing this. -- Kostya 14.04.2011 13:18, saikiran n пишет: Hi, I am using internet in some application. If any wifi configuration is available while my application is running it is switching to wifi instead gprs. How can stop switching. My requirement is i have to use only gprs. Thanks in advance -- Kostya Vasilyev --http://kmansoft.wordpress.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to force use only gprs even though wifi is available
It is. http://developer.android.com/reference/android/net/ConnectivityManager.html#TYPE_MOBILE_HIPRI On 15 Apr, 07:18, kiran saikiran@gmail.com wrote: Yes you are right, But thing is my application itself making wifi on. Is it not possible to on wifi and gprs at a time? On Apr 14, 2:34 pm, Kostya Vasilyev kmans...@gmail.com wrote: You can disable WiFi by calling WifiManager.setWifiEnabled(false). Just don't forget to tell the user you're doing this. -- Kostya 14.04.2011 13:18, saikiran n пишет: Hi, I am using internet in some application. If any wifi configuration is available while my application is running it is switching to wifi instead gprs. How can stop switching. My requirement is i have to use only gprs. Thanks in advance -- Kostya Vasilyev --http://kmansoft.wordpress.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en