开发者

Android: internet access connection

开发者 https://www.devze.com 2022-12-16 02:57 出处:网络
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)

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

精彩评论

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

关注公众号