Android: Performing Network Operations (网络操作)
来源:互联网 发布:lr推荐算法 编辑:程序博客网 时间:2024/06/08 13:38
http://developer.android.com/training/basics/network-ops/index.html
Performing Network Operations
Dependencies and prerequisites
- Android 1.6 (API level 4) or higher
- A device that is able to connect to mobile and Wi-Fi networks
You should also read
- Optimizing Battery Life
- Transferring Data Without Draining the Battery
- Web Apps Overview
Try it out
NetworkUsage.zip
This class explains the basic tasks involved in connecting to the network, monitoring the network connection (including connection changes), and giving users control over an app's network usage. It also describes how to parse and consume XML data.
This class includes a sample application that illustrates how to perform common network operations. You can download the sample (to the right) and use it as a source of reusable code for your own application.
By going through these lessons, you'll have the fundamental building blocks for creating Android applications that download content and parse data efficiently, while minimizing network traffic.
Lessons
- Connecting to the Network
- Learn how to connect to the network, choose an HTTP client, and perform network operations outside of the UI thread.
- Managing Network Usage
- Learn how to check a device's network connection, create a preferences UI for controlling network usage, and respond to connection changes.
- Parsing XML Data
- Learn how to parse and consume XML data.
- Android: Performing Network Operations (网络操作)
- Performing Network Operations -
- Performing Network Operations - Connecting to the Network
- Performing Network Operations - Managing Network Usage
- Performing Network Operations - Parsing XML Data
- Performing SQL Operations from PL/SQL
- 【Android】【Network】Android 网络
- Android基础 —— 网络连接操作NetWork
- 06 Network Operations
- network: android 网络判断
- network: android 网络判断
- network: android 网络判断
- network: android 网络判断
- network: android 网络判断
- android network网络编程
- network: android 网络判断
- network: android 网络判断
- Android network 手机网络
- python 单元测试 使用摘要
- Vim配置文件(全平台可用)2012-05-01版
- GDI+ 通过流方式操作图片文件,避免文件权限冲突
- 四种求最大子序列和问题的解
- 真机测试及布署Code Sign error问题总结
- Android: Performing Network Operations (网络操作)
- TextWatcher编辑框监听器
- jsTree插件简介(六)
- qt+vs2008
- 百度之星资格赛——B题
- GDB 结合Core File巧妙分析Crash原因
- 关于#ifdef编译选项的使用
- asp.net 自己写的一个序列化缓存类
- Redis 内存优化理解和存储总结