title: how to organize a notification from the server to the client for android?
body: <p>I have an application that works with php api. I need to implement a notification clients about any event. I decided to treat every minute in php in service. if something has changed - notify the client. but I think it's not right. if ten clients access the server as the server will understand who read the message and who is not. Correctly - the server must send notice to the client</p>