מדריכים בנושא קישוריות
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
האפליקציה יכולה להתחבר לעולם החיצון באמצעות מגוון טכנולוגיות תקשורת שונות, כולל Wi-Fi, Bluetooth ו-USB. המדריכים הבאים עוסקים בהוספת תמיכה בטכנולוגיות האלה ובאופטימיזציה של האפליקציה לצורך קישוריות.
טכנולוגיות נתמכות
Android תומך בפרוטוקולים ובמסגרות הבאות לחיבור המכשיר לעולם החיצון.
מדריכים |
רשתות: סקירה כללית |
סקירה כללית של מדריכים שמכסים ביצוע פעולות שונות ברשת, כולל חיבורים, ניהול, ניתוח XML, מעקב ועוד. |
רשתות: 5G |
ליהנות מרשתות 5G. |
רשתות: VPN |
פיתוח ובדיקה של לקוח VPN (רשת וירטואלית פרטית) משלכם למכשיר עם Android. |
רשתות: חיפוש נקודות Wi-Fi |
הצגת רשימה של נקודות גישה ל-Wi-Fi שגלויות מהמכשיר. |
רשתות: Wi-Fi ישיר (P2P) |
חיבור ישיר בין מכשירים נתמכים ללא נקודת גישה ביניים. |
רשתות: Wi-Fi Aware |
מאפשרת למכשירים עם Android מגרסה 8.0 ואילך לזהות אחד את השני ולהתחבר ישירות ביניהם ללא סוג אחר של קישוריות ביניהם. ידוע גם כ-Neighbor Awareness Networking (NAN). |
רשתות: זמן הלוך ושוב (RTT) ב-Wi-Fi |
מדידת המרחק מנקודות גישה ל-Wi-Fi עם תמיכה ב-RTT וממכשירים אחרים עם תמיכה ב-Wi-Fi Aware. |
רשתות: נקודת Wi-Fi לשיתוף אינטרנט (Hotspot) מקומית בלבד |
מאפשרים לאפליקציות במכשירים שמחוברים לנקודה לשיתוף אינטרנט (Hotspot) לתקשר ביניהם. |
Bluetooth: סקירה כללית |
סקירה כללית על תמיכת Android ב-Bluetooth, כולל עקרונות בסיסיים ופלטפורמות וממשקי מפתחות. |
Bluetooth: Bluetooth Classic |
מגדירים את הקישוריות הבסיסית ל-Bluetooth באפליקציה. |
Bluetooth: Bluetooth עם צריכת אנרגיה נמוכה (BLE) |
העברת כמויות קטנות של נתונים בין מכשירים בקרבת מקום ואינטראקציה עם חיישני קרבה. |
Bluetooth: BLE Audio |
לקבל אודיו באיכות גבוהה בלי להקריב את חיי הסוללה, ולאפשר למשתמשים לעבור בצורה חלקה בין תרחישים לדוגמה שונים. |
תקשורת מטווח קצר (NFC) |
NFC היא קבוצה של טכנולוגיות אלחוטיות לטווח קצר, שבדרך כלל נדרש להן מרחק של 4 ס"מ או פחות כדי ליצור חיבור. |
מדידה |
טיפול בסשנים של מדידת טווח בכמה טכנולוגיות. |
Telecom |
ניהול שיחות אודיו ווידאו, כולל eSIM וכרטיסי SIM. |
תקשורת Ultra Wideband (UWB) |
מדידת טווח מדויק בין מכשירים. |
USB |
שימוש במצבים 'אביזרי USB' ו'מארח USB' כדי לתמוך במגוון ציוד היקפי USB ובאביזרי USB ל-Android. |
פעולות אופטימיזציה
המדריכים הבאים יכולים לעזור לכם לבצע אופטימיזציה של האפליקציה לשיפור הקישוריות.
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# Connectivity guides\n\nYour app can connect with the outside world using a variety of different\ncommunication technologies, including Wi-Fi, Bluetooth, and USB. The guides\nlisted below cover adding support for these technologies and for optimizing\nyour app for connectivity.\n\nSupported technologies\n----------------------\n\nAndroid supports the following protocols and frameworks for connecting your\ndevice to the outside world.\n\n| Guides ||\n|-----------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Networks: [**Overview**](/develop/connectivity/network-ops) | Overview of guides that cover performing various network operations, including connections, management, parsing XML, monitoring, and more. |\n| Networks: [**5G**](/develop/connectivity/5g/enhance-with-5g) | Take advantage of 5G networking. |\n| Networks: [**VPN**](/develop/connectivity/vpn) | Develop and test your own virtual private network (VPN) client for an Android-powered device. |\n| Networks: [**Wi-Fi scanning**](/develop/connectivity/wifi-scan) | Get a list of Wi-Fi access points visible from a device. |\n| Networks: [**Wi-Fi Direct (P2P)**](/develop/connectivity/wifip2p) | Connect supported devices directly to each other without an intermediate access point. |\n| Networks: [**Wi-Fi Aware**](/develop/connectivity/wifi-aware) | Enable devices running Android 8.0 (API level 26) and higher to discover and connect directly to each other without any other type of connectivity between them. Also known as Neighbor Awareness Networking (NAN). |\n| Networks: [**Wi-Fi Round-Trip Time (RTT)**](/develop/connectivity/wifi-rtt) | Measure the distance to nearby RTT-capable Wi-Fi access points and peer Wi-Fi Aware devices. |\n| Networks: [**Wi-Fi local-only hotspot**](/develop/connectivity/localonlyhotspot) | Enable apps on devices connected to a Wi-Fi hotspot to communicate with each other. |\n| Bluetooth: [**Overview**](/develop/connectivity/bluetooth) | Overview of Android Bluetooth support, including basics and key classes and interfaces. |\n| Bluetooth: [**Bluetooth Classic**](/develop/connectivity/bluetooth/setup) | Set up baseline Bluetooth connectivity on your app. |\n| Bluetooth: [**Bluetooth Low Energy (BLE)**](/develop/connectivity/bluetooth/ble/ble-overview) | Transfer small amounts of data between nearby devices and interacting with proximity sensors. |\n| Bluetooth: [**BLE Audio**](/develop/connectivity/bluetooth/ble-audio/overview) | Receive high fidelity audio without sacrificing battery life, and let users seamlessly switch between different use cases. |\n| [**Near Field Communication (NFC)**](/develop/connectivity/nfc) | NFC is a set of short-range wireless technologies, typically requiring a distance of 4 cm or less to initiate a connection. |\n| [**Ranging**](/develop/connectivity/ranging) | Handle ranging sessions across multiple technologies. |\n| [**Telecom**](/develop/connectivity/telecom) | Manage audio and video calls, including eSIMs and SIM cards. |\n| [**Ultra Wideband (UWB) communication**](/develop/connectivity/uwb) | Measure precise ranging between devices. |\n| [**USB**](/develop/connectivity/usb) | Use USB accessory and USB host modes to support a variety of USB peripherals and Android USB accessories. |\n\nOptimizations\n-------------\n\nThe following guides can help you optimize your app for connectivity.\n\n| Guides ||\n|--------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------|\n| [Reduce network battery drainage](/develop/connectivity/preserving-battery) | Learn about strategies for preserving battery, user experience, and system health. |\n| [Reduce latency and increase network throughput](/develop/connectivity/cronet) | Learn how to use Cronet, a library derived from the Chromium network stack, to reduce latency and increase throughput of network requests. |"]]