ネットワーク オペレーションの実行の概要
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
このセクションのガイドでは、ネットワークへの接続、ネットワーク接続のモニタリング(接続の変更を含む)、ユーザーによるアプリのネットワーク使用状況の管理に関連する基本的なタスクについて説明します。また、XML データを解析し使用する方法についても説明します。
このガイドでは、ネットワーク トラフィックを最小限に抑えながらコンテンツをダウンロードしてデータを効率的に解析する Android アプリを作成するための基本的な構成要素について説明します。
このトピックの詳細については、次の関連ガイドをご覧ください。
ガイド
- ネットワークに接続する
- ネットワークに接続する方法、HTTP クライアントを選択する方法、UI スレッド外でネットワーク オペレーションを実行する方法について説明します。
- ネットワーク使用状況を管理する
- デバイスのネットワーク接続を確認する方法、ネットワーク使用状況を管理するための設定 UI を作成する方法、接続の変更に対応する方法について説明します。
- XML データを解析する
- XML データを解析し使用する方法を学習します。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[],[],null,["# Perform network operations overview\n\nThe guides in this section explain the basic tasks involved in connecting to the\nnetwork, monitoring the network connection (including connection changes), and\ngiving users control over an app\\\\'s network usage. They also describe how to\nparse and consume XML data.\n\nThese guides describe the fundamental building blocks for creating Android\napplications that download content and parse data efficiently while minimizing\nnetwork traffic.\n\nTo learn more about this topic, see the following related guides:\n\n- [Reduce network battery drain: Overview](/develop/connectivity/preserving-battery)\n- [Minimize the effect of regular updates](/develop/connectivity/minimize-effect-regular-updates)\n- [Web-based content](/guide/webapps)\n\nGuides\n------\n\n**[Connect to the network](/develop/connectivity/network-ops/connecting)**\n: Learn how to connect to the network, choose an HTTP client, and perform\n network operations outside of the UI thread.\n\n**[Manage network usage](/develop/connectivity/network-ops/managing)**\n: Learn how to check a device\\\\'s network connection, create a preference UI\n for controlling network usage, and respond to connection changes.\n\n**[Parse XML data](/develop/connectivity/network-ops/xml)**\n: Learn how to parse and consume XML data."]]