问题
I want to make an application that, when running on 2 different android phones over the same Wifi network, allows them to share files directly (not via internet). But i am stuck where to start from. Keywords of techniques and why they could be required would be much appreciated. Thanks in advance
回答1:
Here you can find the example of android direct file sharing over wifi network
Click here
回答2:
you can start with multicast socket with TCP or UDP protocol.
try this link MulticastSocket
来源:https://stackoverflow.com/questions/5288820/application-direct-file-sharing-over-wifi-in-android