סקירה כללית של פעולות ברשת
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
במדריכים שבקטע הזה מוסבר על המשימות הבסיסיות שקשורות להתחברות לרשת, למעקב אחרי חיבור הרשת (כולל שינויים בחיבור) ולמתן אפשרות למשתמשים לשלוט בשימוש ברשת של אפליקציה. בנוסף, הם מתארים איך לנתח נתוני XML ולהשתמש בהם.
במדריכים האלה מתוארות אבני הבניין הבסיסיות ליצירת אפליקציות ל-Android שמורידות תוכן ומנתחות נתונים ביעילות, תוך מזעור תנועת הגולשים ברשת.
למידע נוסף על הנושא הזה, אפשר לעיין במדריכים הבאים שקשורים אליו:
מדריכים
- התחברות לרשת
- איך מתחברים לרשת, בוחרים לקוח HTTP ומבצעים פעולות ברשת מחוץ לשרשור של ממשק המשתמש
- ניהול השימוש ברשת
- כאן אפשר לקרוא איך בודקים את החיבור לרשת של מכשיר, יוצרים ממשק משתמש להגדרת העדפות כדי לשלוט בשימוש ברשת ומגיבים לשינויים בחיבור.
- ניתוח נתוני XML
- איך מנתחים נתוני XML ומשתמשים בהם
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-27 (שעון 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."]]