I am developing an android application that enables user to transfer files from an android device to PC.

How can i transfer selected files/apps to a connected PC?

有帮助吗?

解决方案

You can just use a socket connection. your pc would be your server and the android app would be your client. This way you can send data from your mobile device to your pc.

for example you can refer below link

http://www.javaworld.com/article/2077322/core-java/sockets-programming-in-java-a-tutorial.html

this is basically written in java but similarly you can write it in android.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top