Android notifications using GCM+PHP or Polling for app

196 views Asked by At

I am working on an android app that sends a notification to the clients whenever a new event was added to the server.I find it difficult to choose between various methods of implementing notifications.Should I go for polling(refresh periodically) or GCM ? Is there any other solution ? Since I am new to android app development, I am a bit confused.Thanks in advance :)

1

There are 1 answers

0
shailesh On

In my point of view if you have less than 4kb payload data then you have to use push notification , which decrease the loss of your phone battery.. and if you have multiple client then you may send data a bit of time all of them