如何将文件从一台 Android 设备发送到连接到同一 wifi 的另一台设备
我有一个要求,我需要通过 WiFi 将文件从一台设备发送到另一台设备。两台设备都连接到同一个 WiFi。我必须使用哪种协议来满足此要求。 两者都是 Android 设备,连接到相同的 WiFi 路由器,文件大小可能超过 1MB。
任何示例片段都有帮助。
I have a requirement that I need to send a file from one device to another device through WiFi.Both devices connected to same WiFi. Which protocol I have to use for this requirement.
Both are android devices, Connected to same WiFi router and files size might be more than 1MB.
any sample snippets are helpful.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您不需要从代码访问发送或接收过程,我认为这个应用程序可以解决您的需求 Spriit(测试版)。
If you do not need access to the send or receive process from code, I think this application can solve your need Spriit (In Beta).
我想说 HTTP 将是你最好的选择。您可以使用 nanohttp 作为服务器代码。
I'd say HTTP would be your best choice. You can use nanohttp for the server code.