I want to do an app like Bump, where touching two iPhone I can detect them, does anybody know how can I detect the phisical bump of the iPhone?
Thanks a lot!
I want to do an app like Bump, where touching two iPhone I can detect them, does anybody know how can I detect the phisical bump of the iPhone?
Thanks a lot!
Use a combination of accelerometer events, geolocation and time.
Also, see How does "bump" technology work?
While I also started out looking to do this myself, honestly using the Bump API was quick and painless...and it just worked. I would highly recommend that you check it out before trying to "roll your own"...