I have developed PHP server + Google CLoud Messaging to push Message to Android Clients.
- Client send message to Server using HTTPConnection
- Server send message to clients using Google Cloud Messaging
But I want to know if I can make my own Push Messaging using websocket?
I have tried using XAMPP as my PHP Server.
And using html5 websocket as clients.
But I never tried using android as my clients.
Does anyone know how to do something like that?
What I want is full communication.
For example:
client a -> send "Hello World" to server
client a, b, c, d, e, etc. will get the "Hello World" from server without having the needs of client b, c, d, e doing something.
Thanks in advance, if this question is asked before, I'm really sorry.