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.
精彩评论