Android Question TCP/IP One to One Chat.

Sub7

Active Member
Licensed User
Longtime User
Hi,
i'm looking in forum but i cannot find so much about this argument.
I would like to make an application to send messages and images over tcp, no push notifications so no gcm framework.
My idea is to store user informations on external db and hadle authorization, ip, and log using php then connect the two clients with server support. (i can only run php scripts, no full access)
I have a working structure for user registration and login but i don't really know how to manage data trasmission device > server > device and vice-versa.
I don't want to use thirt parts chatrooms in webview etc.
Any Idea or example?

thanks.
 

Sub7

Active Member
Licensed User
Longtime User
You cannot make a connection from the server to the device. The device must always connect to the server.

Usually you should use HttpUtils2 (assuming that the server is a web server).
Hi Erel,
my bad, i ment that the server will works as bridge between the two devices, the devices are connected to the server. Right?
 
Upvote 0
Top