如何“分享"android应用程序在技术上可行吗? [英] How the "SHAREit" android application works technically?
问题描述
我想使用"SHAREit"之类的wi-fi在android上构建数据共享应用程序,但我没有从哪里开始.
因此,如果我对"SHAREit"的技术概念有个清晰的了解,那么理解它将会非常有效率.
- 当我们要发送文件时,我们看到了可用接收器设备的名称.
- 该名称显示为SSID还是其他?
- 我们如何广播姓名和其他信息以在发送方设备上显示?
- 当我选择要发送文件的设备时,会发生什么?
- 实际上我可以使用的 API 是什么,请简单解释一下.
请我可以运行以测试的所有资源和链接.
使用Android Wi-Fi P2P库和
So if any clear me the technical concept of "SHAREit" it was very much efficient to understand. Please all resources and links that I could run to test. Use the Android Wi-Fi P2P libaries, and start with the doc on this page. It tells you how use Wi-Fi P2P for service discovery, which takes care of item 1 in your requirements. Basically, you have each device transmit a DNS-SD TXT that can contain user ID info, etc. Devices can see its contents without having to establish a socket, which is what you will later do to accomplish item 2 in your requirements. 这篇关于如何“分享"android应用程序在技术上可行吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!