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.
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.
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.
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
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!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With