Skip to Content

Send files directly from iPhone to another

Today I spent far too much time again investigating Bonjour zero configuration networking. Starting with my code from yesterday, I have now updated SendFile to allow you to share any file in your Media/Documents folder with another iPhone or iPod touch. The hardest part of the effort was trying to figure out how to send the name of the file along with its data; I ended up using simple property lists to send both. Another big hurdle involved Objective-C'ifying the Core Foundation code so that it would run as a separate "mdns" class rather than as part of my main application.

If you want to give this a try, you can download SendFile (version 0.22) from my FTP site. Select a file on one phone or touch and "share it". Then "scan" on the other. To switch roles, just quit the app (tap Home) and run it again.

So what next? It would be nice to have some features like passwords and choosing which file to download. Also, I think I may add the sharing (not the scanning) part to SendSong, if people are interested. I also need to figure out where I messed up in terms of switching from scanning to sending. I'd like people to be able to do both without having to restart the app.

Now that I have a relatively easy to use mdns class that can both send and receive, I think it would also be cool to start building apps that communicate with each other, like Chess or Battleship. And, of course, I still want to finish my Push-to-Talk toy. Got other requests or suggestions? Let me know in the comments.

Thanks to NerdVana, Chasehx, az1324 and Luke!



Today I spent far too much time again investigating Bonjour zero configuration networking. Starting with my code from yesterday, I have...
 

Add a Comment

*0 / 3000 Character Maximum

41 Comments

Filter by:
Samir

I am desperate to get bluetooth working to transfer data with other devices just like Nokia phones. I would love to exchange songs and pictures with my friends through bluetooth as is the case with all mobiles like Nokia, Sony,etc.
Also VOIP support for msn messenger and google talk is most wanted.

-Samir.

December 20 2007 at 5:47 PM Report abuse rate up rate down Reply
Harrison Beach

Oli, I'm going to bet that you are using microsoft word, most likely a new version, like '03 or '07. I had the same problems( after you get past your passcode[if you have one] it shows up blank with no icons). What you need to to is take that .plist file and open it with wordpad/notepad in windows, or textedit or some other very basic text editor. BTW, make sure to get a copy of the original file in case. Under international, you will see you want to change that to tell me if that fixes your problem :D

November 28 2007 at 11:27 PM Report abuse rate up rate down Reply
DylanJay

Wow, Erica! Nice work once again. It would be quite cool to see a bonjour chat client, for those times when you're not in range of an accessible wifi point but are in range of another iphone/toucher. Yes, I'm mainly talking about in classes. Two other people in my class have them, would be great to chat using them!

November 04 2007 at 2:31 AM Report abuse rate up rate down Reply
icemantep

Hello Erica and Thanks alot:

Along the lines of the preceeding:

An app to send a vcard by mail or BT to another phone (all or part details like in Nokia Phones,....;-))))

An App to e-mail a web address from the browser

A native app to word process (haahah)

That's about all the jesusphone needs!


Thanks everybody for your fantyastic work!!!!

October 30 2007 at 10:37 AM Report abuse rate up rate down Reply
nathan

how can i add this to my ipod? by ftp-ing into my ipod? where do i put it? sorry if this is a nub question im just not sure

October 24 2007 at 10:05 PM Report abuse rate up rate down Reply
basurash

Erica,

Tahnks for all your hard wok. You are one of the most acvtive members of this comunity.

I wuold like to see iPhone do all the things all phones can do, like MMS, share files (songs, video, etc.) via MMS, Bluetooth, etc. Send and share contacts.

On your send song app i would like to see the list of song better organized, just like in ipod app inside iphone, easier to choose the song; an a way to choose a part of the song you want for ringtone would be nice too.

Another killer would be to get th iPhone to sopport the blackberry system, that way we could surf the net taking advantage of dose beautiful balckberry plans out there which are cheaper... NOT TO MENTION PUSH MAIL.

Thanks again for your efforts...

Keep Rocking!!!!

October 24 2007 at 8:22 PM Report abuse rate up rate down Reply
basurash

Erica,

Tahnks for all your hard wok. You are one of the most acvtive members of this comunity.

I wuold like to see iPhone do all the things all phones can do, like MMS, share files (songs, video, etc.) via MMS, Bluetooth, etc. Send and share contacts.

On your send song app i would like to see the list of song better organized, just like in ipod app inside iphone, easier to choose the song; an a way to choose a part of the song you want for ringtone would be nice too.

Another killer would be to get th iPhone to sopport the blackberry system, that way we could surf the net taking advantage of dose beautiful balckberry plans out there which are cheaper... NOT TO MENTION PUSH MAIL.

Thanks again for your efforts...

Keep Rocking!!!!

October 24 2007 at 8:22 PM Report abuse rate up rate down Reply
Aaron

Erica, this is so awesome. Donation to your sister's friend's charity on the way.

As info to others, you do need a WiFi connection (just Edge won't do it) but it doesn't have to be a full one even, just need an IP address. If you can figure out printing support, that'll be cool!

October 24 2007 at 5:51 PM Report abuse rate up rate down Reply
frantona

Erica, do you thinks i ever going to be able to have something like teamspeak or ventrilo on the iphone?

October 24 2007 at 5:41 PM Report abuse rate up rate down Reply
hb.desiato

So, is there source code of any of these apps that I could look at? - I'm particularly interested in the Voice Notes and how to read the mic on the phone.

October 24 2007 at 12:12 PM Report abuse rate up rate down Reply
Buy an ad here

Hot Apps on TUAW

Tweets

© 2012 AOL Inc. All Rights Reserved.