我可以在应用程序中使用Wi-Fi Direct和蜂窝数据吗? [英] Can I use Wi-Fi Direct and cellular data in an app?

查看:123
本文介绍了我可以在应用程序中使用Wi-Fi Direct和蜂窝数据吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个以上的Android设备.我希望这些设备使用Wi-Fi Direct向其他设备发送指令,同时能够通过其蜂窝数据连接访问Internet.似乎使用Wi-Fi Direct接口被视为 the 主要连接,从而禁用了其他连接,就像Wi-Fi如何禁用蜂窝数据连接一样.

I have two+ Android devices. I would like the devices to send instructions to the other devices using Wi-Fi Direct, while at the same time being able to access the internet via their cellular data connection. It seems that using the Wi-Fi Direct interface is being treated as the primary connection, disabling the other connections, just like how Wi-Fi disables the cellular data connection.

如何以编程方式允许两者同时运行?

How can I programmatically allow both to operate at the same time?

当前,Wi-Fi Direct接收器是根据Google的Android开发者文档实现的.我当时以为我可以使用Wi-Fi Direct,就像可以将蓝牙与其他连接一起使用一样.

Currently the Wi-Fi Direct receiver is implemented according to Google's Android Developer documents. I was under the assumption that I could use Wi-Fi Direct much like I can use Bluetooth alongside other connections.

推荐答案

是可以的,您可以通过 Super的应用程序.下载精简版和付费版本的超级下载-快速! .您可以从这里这里,或者您可以做一些 hacking 这是与3G和WiFi连接以共享Internet连接的应用程序的源代码 (但是我不确定这对您有多大帮助).或尝试反编译

Yes it is possible to do that, you can check some articles over here . One of the developers in XDA has developed an application to do that called Super Download Lite and paid version of Super Download - Fast! . You can get details from here and here or you can do some hacking Here is the source code of application which connect to 3G and WiFi to share the connection of the internet (But I am not sure how much it will help you). or try decompiling or revers engineering the Super Download app

这篇关于我可以在应用程序中使用Wi-Fi Direct和蜂窝数据吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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