How to use WiFi and 3G networks at the same time programmatically

I am developing an application which need to use both networks at the same time - via WiFi the app has connection with some external device, and control it, using of 3G network needs to download a firmware for device. But the problem is when you connect to WiFi the system automatically do the disconnect of 3G network. It seems that WiFi has high priority than 3G network, but I need to use them at the same time, it's wrong behavior of the system for me in this case

I saw a couple similar questions, but they have no solution. Is really android has no way for developers to control both networks even for versions higher than 4.03?

How we can solve the problem?


Do it in a linear fashion. Turn off the wifi and download the firmware. Subsequently re-connect to the device (re-enable the wifi) and transfer the locally stored firmware.

链接地址: http://www.djcxy.com/p/62398.html

上一篇: 从Git存储库生成统计信息

下一篇: 如何以编程方式同时使用WiFi和3G网络