Pass data from app to the same app installed in another device in android

view story

http://stackoverflow.com – I need to pass some data like phone number, email address and etc from my app to the same app but installed in another device. Is it possible to use the phone number to do this? I'm not pertaining to sms messaging, but sending data through the app. If yes, how? I haven't seen any tutorial regarding this matter. If no, what other ways could I accomplish this? I have read about Socket Programming. But I don't quite get on what ip addresses and ports should I use. And I have read that communication device will be the client while the receiving device will be the server. So the data will only a on (HowTos)