在Android中,如果移动和无线网络可用,其中之一是使用? [英] In Android, if both mobile and wifi networks are available, which one is used?

查看:176
本文介绍了在Android中,如果移动和无线网络可用,其中之一是使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序的用户选择的应用程序是否应该让网络请求只有在WiFi网络可用的选项。

In my application users have the option to choose whether the app should make network requests only if WiFi network is available.

如果WiFi是可用的,而且移动网络可用。
哪一个将Android使用,是有保证呢?

What if WiFi is available but also Mobile network is available. Which one will Android use and is there a guarantee for it?

推荐答案

这是完全依赖于它的设备ROM的配置方式。优先级在一些电话设置。一些旧的装置的不具有优先级使用该最新连接的网络

It is totally depended on device how its ROM is configured. Priority is set in some of the phones. Some of the old device which do not have priorities use the network which is latest connected.

有可同时使用两个连接许多应用程序,但该基本要求为手机必须扎根。

There are many apps available to use both connection simultaneously, but the primary requirement for that is the phone must be rooted.

在这里输入的形象描述

应用程序也可提供,通知用户切换网络时,多个连接是可用的。

Apps are also available that notifies user to switch network when multiple connections are available.

这篇关于在Android中,如果移动和无线网络可用,其中之一是使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆