DevBytes: Efficient Data Transfers - Eliminating Polling with Google Cloud Messaging

7 175
47.8
Опубликовано 20 сентября 2013, 16:57
Efficient Data Transfers: Eliminating Polling with Google Cloud Messaging

One of the most effective ways you have at your disposal for optimizing the efficiency of your data transfers is eliminating user-driven updates.

That means, doing everything you can to eliminate the refresh button within your app. The most common reason people hit refresh, is because they don't believe your app is displaying up-to-date information -- and if you're using some form of client-side polling, they're probably right. Instead, use Google Cloud Messaging to have your server notify your app when there is data ready to be downloaded -- or even include the new data in the message payload itself.

Further Reading and Sample Code:
developer.android.com/google/g...

(Episode 5 of 7)
By Reto Meier

#devbytes #efficientapps
Случайные видео
25.09.23 – 9 8310:09
Sneak Peak of Xiaomi Watch 2 Pro
13.12.21 – 597 8170:45
Why Windows 11 Is FREE #Shorts
14.09.18 – 17 3820:37
UFO Sensing Toy - GearBest
автотехномузыкадетское