Android开发训练之第五章——Building Apps with Connectivity & the Cloud

Building Apps with Connectivity & the Cloud

These classes teach you how to connect your app to the world beyond the user's device. You'll learn how to connect to other devices in the area, connect to the Internet, backup and sync your app's data, and more.

  1. Connecting Devices Wirelessly

    How to find and connect to local devices using Network Service Discovery and how to create peer-to-peer connections with Wi-Fi.

    1. Using Network Service Discovery
    2. Creating P2P Connections with Wi-Fi
    3. Using Wi-Fi P2P for Service Discovery
  2. Performing Network Operations

    How to create a network connection, monitor the connection for changes in connectivity, and perform transactions with XML data.

    1. Connecting to the Network
    2. Managing Network Usage
    3. Parsing XML Data
  3. Transferring Data Without Draining the Battery

    How to minimize your app's impact on the battery when performing downloads and other network transactions.

    1. Optimizing Downloads for Efficient Network Access
    2. Minimizing the Effect of Regular Updates
    3. Redundant Downloads are Redundant
    4. Modifying Patterns Based on the Connectivity Type
  4. Syncing to the Cloud

    How to sync and back up app and user data to remote web services in the cloud and how to restore the data back to multiple devices.

    1. Using the Backup API
    2. Making the Most of Google Cloud Messaging
  5. Resolving Cloud Save Conflicts

    How to design a robust conflict resolution strategy for apps that save data to the cloud.

  6. Transferring Data Using Sync Adapters

    How to transfer data between the cloud and the device using the Android sync adapter framework

    1. Creating a Stub Authenticator
    2. Creating a Stub Content Provider
    3. Creating a Sync Adapter
    4. Running a Sync Adapter
  7. Transmitting Network Data Using Volley

    How to perform fast, scalable UI operations over the network using Volley

    1. Sending a Simple Request
    2. Setting Up a RequestQueue
    3. Making a Standard Request
    4. Implementing a Custom Request
原文地址:https://www.cnblogs.com/bvin/p/4350659.html