机器人:使用WiFi的直接和应用程序移动数据 [英] android: use wifi-direct and cellular data in app

查看:245
本文介绍了机器人:使用WiFi的直接和应用程序移动数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个+ Android设备。我想的设备发送用无线直接指令给其他的设备,而在同一时间能够通过他们的蜂窝数据连接访问因特网。看来,使用WiFi的直接接口被视为主要连接禁用其他连接,只是怎么样的WiFi关闭蜂窝数据连接。

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

如何以编程方式让双方在同一时间进行操作?

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

目前在WiFi直接接收器根据谷歌的Andr​​oid开发者文档来实现,我是,我可以用wifi直接很像我可以用蓝牙与其他连接的假设下

Currently the wifi-direct receiver is implemented according to google's android developer documents, I was under the assumption that I could use wifi-direct much like I can use bluetooth alongside other connections

推荐答案

是的,这是可以做到这一点,你可以检查一些文章上的此处。一个开发商在XDA开发了一个应用程序做那个叫超级下载精简版超级下载 - 快! 。你可以从<一个细节href="http://www.xda-developers.com/android/super-download-uses-mobile-data-wifi-for-faster-internet-speed/"相对=nofollow>这里和这里或者您可以做一些<一href="http://mobisocial.stanford.edu/news/2011/03/let-wifi-and-3g-connection-work-together-by-hacking-connectivityservice-java/"相对=nofollow>黑客下面是应用程序的源$ C ​​$ C 它连接以3G和WiFi分享互联网的连接,(但我不知道有多少它会帮助你)。或尝试反编译或翻领中的<一个工程href="http://dl.xda-developers.com/attachdl/08db386a49c65023e567e7de6f9ca798/527f4081/2/2/0/8/3/2/3/SuperDownload_1.5.apk"相对=nofollow>超级下载应用

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

这篇关于机器人:使用WiFi的直接和应用程序移动数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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