【Android Advanced Training - 05】传输数据时避免电量的浪费[Lesson 0 - 章节概览]

Transferring Data Without Draining the Battery

[传输数据时不要浪费电量]

Dependencies and prerequisites

  • Android 2.0 (API Level 5) or higher

You should also read

  • 在这一章,我们将学习为了最小化某些操作对电量的影响是如何处理下载,网络连接,尤其是无线电波的。
  • 这一章,演示了如何使用缓存caching,轮询polling,预取prefetching等技术来安排并执行下载操作。
  • 我们会学习无线电波的power-use属性配置是如何影响我们对于在何时,用什么,以何种方式来传输数据的选择。当然这些选择是为了最小化对电池寿命的影响。

Lessons

这一章我们将学习下面4个内容,我会在后续进行逐一的翻译讲解,需要提前看的同学请点击下面文章的链接过去看官方原文,在逐一成文之后,我会把文章链接到本博客,谢谢!

Optimizing Downloads for Efficient Network Access[使用有效的网络连接方式来最优化下载]

【Android Training - 05】传输数据时如何避免电量的浪费[Lesson 1 - 看无线电波如何影响网络操作]

This lesson introduces the wireless radio state machine, explains how your app’s connectivity model interacts with it, and how you can minimize your data connection and use prefetching and bundling to minimize the battery drain associated with your data transfers.

Minimizing the Effect of Regular Updates[最优化常规更新操作的效果]

【Android Training - 05】传输数据时避免电量的浪费[Lesson 2 - 调整定时更新的频率(C2DM与退避算法的使用)]

This lesson will examine how your refresh frequency can be varied to best mitigate the effect of background updates on the underlying wireless radio state machine.

Redundant Downloads are Redundant[重复的下载是冗余的]

【Android Training - 05】传输数据时避免电量的浪费[Lesson 3 - 使用缓存来避免重复的下载]

The most fundamental way to reduce your downloads is to download only what you need. This lesson introduces some best practices to eliminate redundant downloads.

Modifying your Download Patterns Based on the Connectivity Type[根据网络连接类型来更改下载模式]

【Android Training - 05】传输数据时避免电量的浪费[Lesson 4 - 根据网络类型更改下载模式]

When it comes to impact on battery life, not all connection types are created equal. Not only does the Wi-Fi radio use significantly less battery than its wireless radio counterparts, but the radios used in different wireless radio technologies have different battery implications.


学习自:http://developer.android.com/training/efficient-downloads/index.html,谢谢!

转载请注明出处:http://blog.csdn.net/kesenhoo,谢谢!



你可能感兴趣的:(Advanced)