Wifi File Transfer - Android Software Development

Hey!
I want to transfer (image) files between my android phone and a pc. Am I correct in assuming that as long as the phone is already configured and connected to the same wifi network as the pc, I just use standard java code (like sockets) to transfer the files to/from the phone?
If not, could anyone point me to the android specific way of exchanging files over wifi?

Look up WebSharing app in market

SwiFTP or Symbian

No no, it looks like I didn't word it right. I'm not after an existing app to transfer files.
The application that I'm coding does a lot more than just exchange files, it's just that I need to code some file exchange as part of the application.

JCIFS Samba, I believe is what you need.

Related

HELP GUYS

Hi forum,
I have a WiFi Connection in my office premisis & was womdering if I could create a VPN or a similar p2p connection between my laptop & my universal...
Any comments or ideas..
Thanx,
mOrph
yes you can
but not an activesync connection.
you basically have to get on the WIFI network (VPN not necessary unless you are external of the network and/or behind firewalls).
then its a question of what you want to do, the WIFI network gets you on to it using WEP or WPA SPK I think (we use WEP at home and work).
if you want to connect to your laptop, create a mapped drive then you can copy and paste backwards and forwards.
you can run terminal server to control your PC or connnect to a terminal server, or connect to SBS with administrator priverlidges.
The question is, if you connected, what do you want to do. You cannot activesync, but you might like to try streaming music or other bandwidth consuming activities...
ok
got your PM.
Question: If you created the connection using WIFI between your laptop and your PDA, what do you want to do/achieve?
PS morphosin
Please please please stop using "help guys" as your heading. Refer here: http://forum.xda-developers.com/viewtopic.php?t=4534
Particularly point 2.
This is at the beginning of every forum topic.
Hi
Answer:
Hi Simon... The reason i was wanting to connect my laptop & my ppc through Wifi is that i cannot activesync (like you already know).
I was thinking maybe i can have a data trasfer between the devices if nothing else.
Is that possible?
If not, what can the connection be used for?
Thanx buddy,
mOrph
Activesync cannt be done over WIFI, 2003 allowed it not WM2005.
You can share a folder on your PC, and thus place files in and out of that using WIFI. Generally though, I found it more efficient to use an SD card with a USB memory reader to transfer files, much quicker read/write. Usually I want to put pictures or videos back the other way anyway. some pc's and laptops come with memory card readers anyway.
ON your PC' find a folder, right mouse click and share it with a share name. Make sure you know the name of the machine, eg my computers name is TLA-DELL1 for work, and home is the name of my daughter. If you havent named your machine it will have some dodgy obscure pathetic name issued by the manufacturer. You can get this from system in control panel.
On your PDA, start your WIFI.
Using Resco explorer hopefully you have it, map a net work drive. You can try the standard file explorer, but I dont like it. Total commander can also do it. In the share address use:
\\computername\foldersharename
note the double backslash.
Enter usernames and passwords as appropriate.
Now, the pain in the arse bit.... do you have a firewall? This is where it can get tricky.
The other thing you can do is if you are running XP Pro (if not, I recommend it), you can also go into control panel > system on the tab called remote connection, you can tick a box that allows you to take control and use your machine on your PDA using Terminal Server. This allows you to access all the resources and facilities that your machine has as if you were sitting at the console, including the power and processing speed of your computer.
Only downside, the screen is much much smaller than your computer, so getting around it can be painful.
Once you have enabled your machine to allow the connection, its simply a matter of starting wifi, programs > terminal services, and enter the IP address or computer name of your laptop to connect to it, and it should open then a log on name for you to start using your machine.
A further feature, which I dont use and cannot advise how to, but read about it here, is to "stream" mp3's from your laptop to your PDA so you can play music on your PDA based upon music on your machine rather than having to copy it.
In relation to sending files to your computer, if all else fails, I ahve two extra email accounts on my PDA a hotmail account, a POP3 account, and if in times of need, a GMAIL account, all of which allow me to email particular files anywhere I want using any WIFI connection. I use this when all else fails.....
Hence my question, what did you want it for....
Dont worry mate, we'll get there... one day. We just have to challenge MS, and what is life without a challenge or 100 from MS.

Bluetooth and File Sharing

Hi,
I would like to transfer files between phones using bluetooth.
I can set up a synch between two devices (e.g. my wifes Sony-Ericsson) but I cannot find any way of using the connection to transfer files.
Have I missed something simple?
Thanks,
Joe
jdauncey said:
Hi,
I would like to transfer files between phones using bluetooth.
I can set up a synch between two devices (e.g. my wifes Sony-Ericsson) but I cannot find any way of using the connection to transfer files.
Have I missed something simple?
Thanks,
Joe
Click to expand...
Click to collapse
Just use OBEX file transfer - that is, simple Beam File from your File Explorer on your Pocket PC (and send file or something like that on the phone). See for example http://www.pocketpcmag.com/blogs/index.php?blog=3&p=1065&more=1&c=1&tb=1&pb=1 for more info on file transfer issues over BT.

What hardware/software do I need to transfer

files wirelessly between my Blackstone and my laptop ?. I do not like bluetooth.
Can I also stream movies?
Bluetooth is easiest if you are only sending single files.
FTP is easiest to access files on your PC from your handset if you don't know how to create shares and access them over networks. To do this, you will need to run an FTP server application on yout PC (Filezilla is a good one), and a client on your handset.
If you understand network shares, then you simply need to make the folders where files you wish to access reside network shares. Doing things this way means you can stream music and movies.
There are literally thousands of sites which will teach you how to set-up network shares depending on your operating system.
Likewise there are many which teach you how to run FTP servers.

[Q] App to create wifi network and share files

I want to share files with an iphone user and a pc.
Is there an app that creates an ad-hoc network and create a web file server to do this?
I know there are apps for both these things separately, but I don't need to tether and I wanted a single button to do all (and I don't even know if combining apps would allow me to do this).
As an added bonus, if the created web server allows uploading files it would also allow to get files from iOS and pc.
Is there an app for this?
The easiest method that comes to mind is that you can turn most Android devices into a Samba file sharing server, which would be easily accessible from Windows, and most likely in iOS too provided you have the proper client app installed. The only problem is that to set up a Samba server in Android, you need to root your device first. Samba Filesharing in the Market will help you set it up once you're rooted. I don't have an iOS device so I've never been able to try it, but I've read that NetPortal on iOS is a good app for accessing CIFS/SMB shares.
Setting up a Samba server doesn't necessarily create an ad hoc network as well, though. That's something you'll need to configure separately, usually via another third party app, like Wireless Tether.
I use file expert, it creates an ftp server, it's very handy to use....
on my htc magic I use "remote web desktop" but it doesn't work on my transformer...
Dropbox. Everyone should have it, use it, love it
Seriously I use it all the time to keep everything sync'd up on 4 PC's and 2 mobile devices, as hosting for all the things I post online and to share / sync folders with friends (shared collection of ebooks ftw).
I know its not quite 'on the fly' as you were after but its an option
I would have suggested Dropbox, but cloud storage is still much slower than a local server, and is fairly limited in maximum storage. With Samba or FTP, you can use massive external hard drives to host your content, which I'm assuming the OP plans on doing.

File sharing PC<--->X10i

Hi^^
Probably a strange question...but.
Guide or ideas for share file beetween X10 and PC on window 7 home ed?
PC recognize X10 wireless connection..but ask key and adress...that i never set...
help please^^
Sorry for my english
I like to use Wifi Explorer. With that, all you have to do is connect to your home wifi, run the program, then navigate to the web address given by Wifi Ex. (for ex: http://192.168.1.115:8000) You can download/upload files to your phone or zip folders on your phone to download multiple files easier.
I also find that it makes it easier to share with my friends because they can navigate to that page through their phones browser to grab apks or whatever.
- X10a Wolf 008 ~via XDA App
or MYPHONE EXPLORER its an APK on your phone and a program installed on your pc get it free from hxxp://www.fjsoft.at/
you can also transfer contacts and sms witht hsi app
SwiFTP FTP Server
SwiFTP... easy to configure and files can be shared both ways hassle-free... the best I've used till now...
i use Dropbox and VNC server so if im watching tv upstairs and cbf going downstairs i just vnc and dropbox to send stuff to and from my pc or phone or to my mates and it goes on a external server for backup
Not sure if its the best but I use Samba Filesharing from the market. The app keeps the phone awake for transfering large files which i find useful.
Thank you all guys...
I love you^^

Categories

Resources