Search code examples
androidadb

Android - automating file transfer between phone and desktop app


Does anyone know of a way to transfer files between an app running on a desktop and and app running on an Android device?

Would this have to be some sort of client server arch? Should i use 'adb push / pull' like commands from the desktop app with predifined file paths on the sd card (which the app saves its data too?)

Thanks,


Solution

  • You could just use Dropbox, or a similar service. If you want your own solution you can use, for example, sftp. If the phone can be connected to the same wireless net as the desktop computer you don't even have to worry about ports/NAT issues.