开发者

Android: internet access connection

I'm retreiving data from an internet service.

Is there a way to control which (data) connection the device uses for connecting to 开发者_Go百科a website?(access via wifi or via the cellular network)


No. This can't be done in the browser, nor in your own application.

However, in your application you could detect which data connectivity type is currently active, using the ConnectivityManager class.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜