Android: Transferring Data Without Draining the Battery
2012-06-05 14:03
274 查看
http://developer.android.com/training/efficient-downloads/index.html
Get
started ›Optimizing Downloads
for Efficient Network Access
Android 2.0 (API Level 5) or higher
Optimizing Battery Life
In this class you will learn to minimize the battery life impact of downloads and network connections, particularly in relation to the wireless radio.
This class demonstrates the best practices for scheduling and executing downloads using techniques such as caching, polling, and prefetching. You will learn how the power-use profile of the wireless radio can affect your choices on when, what, and how to transfer
data in order to minimize impact on battery life.
Optimizing Downloads for Efficient Network Access
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
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
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
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.
Transferring Data Without Draining the Battery
Getstarted ›Optimizing Downloads
for Efficient Network Access
Dependencies and prerequisites
Android 2.0 (API Level 5) or higher
You should also read
Optimizing Battery LifeIn this class you will learn to minimize the battery life impact of downloads and network connections, particularly in relation to the wireless radio.
This class demonstrates the best practices for scheduling and executing downloads using techniques such as caching, polling, and prefetching. You will learn how the power-use profile of the wireless radio can affect your choices on when, what, and how to transfer
data in order to minimize impact on battery life.
Lessons
Optimizing Downloads for Efficient Network AccessThis 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
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
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
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.
相关文章推荐
- android-Transferring Data Without Draining the Battery
- Android开发训练之第五章第三节——Transferring Data Without Draining the Battery
- Transferring Data Without Draining the Battery - Redundant Downloads are Redundant
- Transferring Data Without Draining the Battery - Optimizing Downloads for Efficient Network Access
- Transferring Data Without Draining the Battery【数据传输中有效降低电池消耗】
- Transferring Data Without Draining the Battery - Minimizing the Effect of Regular Updates
- Transferring Data Without Draining the Battery - Modifying your Download Patterns Based on the Conne
- Transferring Data Without Draining the Battery -
- 数据库报错 Starting MySQL.The server quit without updating PID file (/usr/local/mysql/data/hostname.pid)
- Competing in a data science contest without reading the data
- 使用innodb_data_file_path修改数据文件位置,发生The server quit without updating PID file错误的解决原因及方法。
- Starting MySQL.The server quit without updating PID file (datamysqllinux.pid).
- Starting MySQL...The server quit without updating PID file (/usr/local/mysql/data/rekfan.pid)
- Android - How to direct the audio data from MediaRecorder as the input of ffmpeg command via Pipe?
- linux mysql -- ERROR! The server quit without updating PID file (/usr/local/mysql/data/localhost.localdomain.pid)
- Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/data/localhost.l
- android创建AVD时的报错:Unable to find a 'userdata.img' file for ABI armeabi to copy into the AVD
- Android Factory Reset Without Losing Application Data
- android异常:The constructor Data() is undefined
- android-Transferring Data Using Sync Adapters