Any method?
The easiest way to use just the tcp sockets.
If you need send text between two nearby phone, best way is bluetooth. Otherwise you should use normal network, and own serwer. You can make simple IM or use push messages from google play services. Many possibilities.