#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2011
    Posts
    4
    Rep Power
    0

    Bumping/file sharing technology


    Guys,

    There are a number of applications on the market that allow Android phones to exchange files or some other information. Those applications usually rely on two Android devices being in close proximity and detecting each other's presence. I do not think that they use bluetooth communication to send signal to each other since bluetooth can be off and it would take some time to activate it so bumping would take longer than it does in those applications. Thus those apps have to use some other sensors that most of android phones are equipped with.

    Do you have any idea of what those sensors are and how the phones become aware of each other's presence?

    Thank you in advance
  2. #2
  3. No Profile Picture
    Lost in code
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 2004
    Posts
    8,317
    Rep Power
    7170
    http://bu.mp/faq
    There are two parts to Bump: the app running on your device and a smart matching algorithm running on our servers in the cloud. The app on your phone uses the phone's sensors to literally "feel" the bump, and it sends that info up to the cloud. The matching algorithm listens to the bumps from phones around the world and pairs up phones that felt the same bump. Then we just route information between the two phones in each pair.
    PHP FAQ

    Originally Posted by Spad
    Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2011
    Posts
    4
    Rep Power
    0
    E-Oreo,
    thank you for the quick reply. The theory behind how this works with the backend servers and stuff seems to be clear, what is not obvious is how exactly the phones detect each other, that is through which sensors. The most obvious candidate would be bluetooth, but it is not since it is not needed to be enabled for the bumping to work.

    Thanks again,
    cromartie
  6. #4
  7. No Profile Picture
    Lost in code
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 2004
    Posts
    8,317
    Rep Power
    7170
    They don't actually detect each other. The accelerometer in them detects the motion of a "bump". When it detects a bump it sends a message to the central server. If the central server receives two messages from the same location, it assumes the phones were bumped together and sends both of the phones a message telling them that.
    PHP FAQ

    Originally Posted by Spad
    Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2011
    Posts
    4
    Rep Power
    0
    Thanks you for clarification - this actually makes sence now. But does it mean that the GPS has to be switched on for this to work? Because if it is not on on either of the phones then the apps would have to pop a message that it needs to be switched on for it to work thus making the bumping action more clumsy.
  10. #6
  11. No Profile Picture
    Lost in code
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 2004
    Posts
    8,317
    Rep Power
    7170
    There are three ways a cell phone can figure out where it's at; one is using GPS, which is by far the most accurate, but requires GPS to be turned on and a clear line of site to the sky; a second is triangulating its position using nearby cell towers, which is less accurate by virtually always enabled and doesn't need line of site to the sky; and a third is using nearby WiFi networks, which can give a general location if you actually connect to them and a relative location if you don't.
    PHP FAQ

    Originally Posted by Spad
    Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around
  12. #7
  13. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2011
    Posts
    4
    Rep Power
    0
    Thanks a lot for the information - good to know there are several options

IMN logo majestic logo threadwatch logo seochat tools logo