Is there possible to transfer file from one iphone to another iphone via bluetooth?

Discussion in 'iOS Programming' started by jpsubbarayalu, Jun 24, 2011.

  1. jpsubbarayalu macrumors newbie

    Joined:
    Dec 20, 2009
    Location:
    Chennai
    #1
    Hi All,

    Is there possible to transfer file from one iphone to another iphone via bluetooth?

    If anybody having any idea,Please let me know.


    Thanks in Advance,
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    No. The Bluetooth stack is heavily locked down.
     
  3. jpsubbarayalu thread starter macrumors newbie

    Joined:
    Dec 20, 2009
    Location:
    Chennai
    #3
    Hi,

    Thanks for your reply.Now i can able to transfer data from one iphone to another iphone using GameKit API.

    But i want to transfer a file, not data.Like browse a file,and select that particular file and send it to the connected device[Its connected via Bluetooth].

    Whether do u have any idea,about this?


    Thanks in Advance.
     
  4. Sirolway macrumors 6502

    Joined:
    Jun 13, 2009
    Location:
    London
    #4
    There's a popular app called Bump that might do this
     
  5. mun35 macrumors newbie

    Joined:
    Jun 24, 2011
    #5
    I believe Bump doesn't use BT for the transfer.
     
  6. Dave Felix macrumors 6502a

    Dave Felix

    Joined:
    Apr 9, 2011
    Location:
    Scranton, Pennsylvania
    #6
    Yeah I dont think this is possible as I've tried a few times between iPhones. I really want to know why its not possible because sending ringtones and photos would be great. :mad:
     
  7. xStep macrumors 68000

    Joined:
    Jan 28, 2003
    Location:
    Less lost in L.A.
    #7
    Transferring data from one iOS device to another is possible via bluetooth. Your 'easy to use' options are Bonjour and I believe Game Kit. Bonjour will also allow you to use WiFi with other devices such as OS X systems.

    This might be a starting point; Introduction to NSNetServices and CFNetServices Programming Guide, Internet and Networking Starting Point, iOS Networking & Internet

    Check out Apple sample code WiTap.

    Bump has a FAQ about their product. Looks like they use the cloud exclusively. Since iOS devices only talk to other iOS devices via bluetooth, without special Apple clearance, they use an alternative that allows talking to other non-Apple devices.

    I haven't run Bump. I have to wonder if it can even be used with an iPod touch.
     
  8. mun35 macrumors newbie

    Joined:
    Jun 24, 2011
    #8
    GameKit uses bluetooth right? Can an app using GameKit could at least scan for nearby discoverable devices?
     
  9. chown33 macrumors 604

    Joined:
    Aug 9, 2009
    #9
    GameKit Programming Guide: Peer-to-Peer Connectivity


    Answer is in the FAQ.
    Q: Cool, but doesn't this only work between two iPhones?
     
  10. xStep macrumors 68000

    Joined:
    Jan 28, 2003
    Location:
    Less lost in L.A.
    #10
    Cool. Of course I miesd that because I only read as far as I needed. :rolleyes:
     
  11. Sykte macrumors regular

    Joined:
    Aug 26, 2010
    #11
    Bonjour is a discovery service, you will need to work with NSInput/Output Streams or further down like CFStream.
     
  12. xStep macrumors 68000

    Joined:
    Jan 28, 2003
    Location:
    Less lost in L.A.
    #12
    Yep, you're right. I should have clarified further.
     

Share This Page