2
I studied in the services of GCM for sending and receiving notifications to the android
, but I have the following doubt:
- If I am in a local environment, and the data server is in same environment, there is some way for me to work with the automatic notifications every time a request is made?
For example: I write new data by one celular X
, and I need to automatically send a request to a celular Y
with the registration data. I can send and rescue the data by JSON
, but how would the mobile detect a change in the database when I do not have access to internet?
Is there any way to replace the GCM for these cases?
http://www.html5rocks.com/pt/tutorials/websockets/basics/
– Guilherme Ribeiro Dev