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 :)
Android notifications using GCM+PHP or Polling for app
264 Views Asked by Vaigunth At
1
There are 1 best solutions below
Related Questions in ANDROID
- Delay in loading Html Page(WebView) from assets folder in real android device
- MPAndroidChart method setWordWrapEnabled() not found
- Designing a 'new post' android activity
- Android :EditText inside ListView always update first item in the listview
- Android: Transferring Data via ContentIntent
- Wrong xml being inflated android
- AsyncTask Class
- Unable to receive extras in Android Intent
- Website zoomed out on Android default browser
- Square FloatingActionButton with Android Design Library
- Google Maps API Re-size
- Push toolbar content below statusbar
- Android FragmentPagerAdapter Circular listview
- Layout not shifting up when keyboard is open
- auDIO_OUTPUT_FLAG_FAST denied by client can't connect to localhost
Related Questions in PUSH-NOTIFICATION
- Android: Transferring Data via ContentIntent
- Android Status Bar Icon Size - Using Cordova / Phonegap Push Plugin
- Parse.com - setting up push notifications for single users
- Android Push Notification - Parsing JSON Notification tag name to get raw file (Resource Id or Uri)
- Notification using setFullScreenIntent() for BigTextStyle opening Activity automatically
- Xiaomi does not receive a notification when the application is not running
- Is it possible to send push notifications as per user preference(Time) from parse?
- Cancel pending push notification
- GCM set expiration date for push notifications
- JPush works all over the world?
- Allow user to select notification sound in iOS Notification Settings
- Ios Push notifications not working. (Google play games unity plugin)
- Push notifications that trigger a background refresh before showing the push notification VS silent push
- JavaPNS NoClassDefFoundError
- p12 certificate is always incorrect at Pushwoosh
Related Questions in GOOGLE-CLOUD-MESSAGING
- Android: Transferring Data via ContentIntent
- Unable to receive extras in Android Intent
- ACCESS_COARSE_LOCATION merged from play-services-base lib
- How to handle RabbitMQ with mobile apps
- Xamarin Google Cloud Messaging GcmClient.CheckDevice(this) causes runtime error
- Why is my own sender ID getting back an InvalidRegistration message?
- unable to register (com.google.iid error 1005.)
- New GCM google-services.json and plugin needed?
- Xiaomi does not receive a notification when the application is not running
- How to implement Google Cloud Messaging - Topic Messaging in Chrome?
- Is it possible to send push notifications as per user preference(Time) from parse?
- GCM set expiration date for push notifications
- JPush works all over the world?
- Identifying Sender of Upstream GCM Message
- Deleting Repeated Services from Android GCM Config File
Related Questions in POLLING
- Thread vs Handler for polling
- Get device monitor notifications in Linux using C++
- Monitoring an applications performance within Visual studio
- Android notifications using GCM+PHP or Polling for app
- How can I push data to a browser where the data is based on a SQL statement?
- Push notification server backend for iOS and Android Interval Poll methods
- Asynchronous Multiple Tasks in C# windows service ( with two different await times )
- Can I start the polling service by call ? AngularJS
- SignalR with Websockets OR polling only, to prevent connection limit
- rxjs throwing an error once http request returns a specific value
- How to session_write_close() in Laravel?
- An automation script which continuosly presses a button in a website
- Can't read more than one word from named pipe, using poll
- Jenkins Git SCM Polling stops when the job for which polling is happening is running
- Poll an azure queue and update view when data arrives in queue Asp.net Mvc4
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
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