Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

File sharing between Android phone and a PC

Tags:

android

I am new to the Android SDK. Is there a way to share files from my Android app, so that it can be accessed by another computer using WiFi? Is there support for something like SMB? (Android version on phone is 1.6) Thanks.

like image 577
M-V Avatar asked Jan 18 '10 08:01

M-V


People also ask

Can I wirelessly transfer files from Android to PC?

You can then choose files from the gallery and tap the share button to open the sharing menu. From there, select Bluetooth and from the following list, select your PC. Your phone will start sending the file to the PC.

Can you access PC files from Android?

You need to download two apps: PC Remote Receiver on your computer and PC Remote on your Android phone. Both apps are free to use, and the Android app has options for in-app purchases. The apps offer four modes for gaining access to the files on the computer: Wi-Fi, Bluetooth, USB, and QR scan.


2 Answers

There is an android SMB library available here: http://code.google.com/p/sambaexplorer/

There are also some existing android SMB products out there like Pander-sync: http://www.pader-sync.com/mobile-smb-client.html

like image 180
ERR0 Avatar answered Oct 05 '22 23:10

ERR0


Another option is to look into the JCIFS library. SMB (or CIFS) could be made possible this way. Although, I would suggest you look into some other mechanism for talking between your Android device and another computer. Simple file browsing is one thing, but actual communication back and forth is a little more complicated. You might want a daemon or systray app on the computer side.

Additionally, there could be some concerns related to security with SMB/CIFS. You might have issues with the permissions on the computer, complexity of the configuration for the end-user on the Android side, or both. Just a thought!

like image 41
BK. Avatar answered Oct 05 '22 23:10

BK.