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.
If you are looking for a solution for your phone, there is at least one samba client in the market. I'm using SambaExplorer and it works quite well. My HTC hero also comes with software from HTC that allows me to hook up my windows machine to my phone so I can move files back and forth.
From an api perspective, you have access to essentially the same api's you would have in standard Java plus some additional things. See here for further detail.
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 use i-jetty, you can then share files and web pages (even dynamic servlets!) using HTTP, and browse them from the computer using a normal web browser.
You can still browse them from the device itself, of course. :-)
there is an android SMB library available here: http://www.androlib.com/android.application.com-shank-sambaexplorer-jtFt.aspx
there are also some existing android SMB products out there like Pander-sync: _http://www.pader-sync.com/mobile-smb-client.html