Android transffer data between two android devices
i want to develop one chat application where user will login and selected another person who is login on this application , now they are connected and they be able for chat means transfer text data.

What is the best way to do this .

thank in advance
Android transffer data between two android devices
===

i want to develop one chat application where user will login and selected another person who is login on this application , now they are connected and they be able for chat means transfer text data.

What is the best way to do this .

thank in advance