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
Случайные видео
48 дней – 634 0203:29:26
I'm Siding With Apple - WAN Show May 10, 2024
31.05.07 – 1 086 0491:58
Google Apps Quick Tour
автотехномузыкадетское