إعداد "حزمة تطوير البرامج بالاستناد إلى بيانات خرائط Google" لنظام التشغيل Android
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
يوضّح هذا المستند المتطلبات الأساسية لاستخدام "حزمة تطوير البرامج بالاستناد إلى بيانات خرائط Google" لنظام التشغيل Android، وكيفية تفعيلها، ثم كيفية إرسال طلب مصادقة.
checklist
تأكَّد من استيفاء الشروط الأساسية.
settings
فعِّل حزمة تطوير البرامج (SDK) في مشروعك على Google Cloud.
verified_user
اضبط مفتاح واجهة برمجة التطبيقات لاستخدامه مع "حزمة تطوير البرامج بالاستناد إلى بيانات خرائط Google" لنظام التشغيل Android.
تاريخ التعديل الأخير: 2025-07-24 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2025-07-24 (حسب التوقيت العالمي المتفَّق عليه)"],[[["An API key is required to use the Maps SDK for Android and can be created through the Google Cloud Console or the Cloud SDK."],["Before using the API key in production, it's crucial to restrict it for security by specifying allowed Android apps and APIs."],["Restricting the API key involves providing the package name and SHA-1 certificate fingerprint of your Android application."],["The same API key can be used for both the Maps SDK for Android and Places SDK for Android applications."],["After obtaining and restricting the API key, proceed to set up and configure your Android Studio project."]]],["To use the Maps SDK, you need an API key, created via the Google Cloud Console or Cloud SDK. The Console method involves navigating to the Credentials page and creating an API key. The Cloud SDK uses the `gcloud services api-keys create` command. Restrict API keys for security, selecting \"Android apps\" and adding the package name and SHA-1 certificate fingerprint. Use separate keys for each app and platform. You can also do this using Cloud SDK, with `gcloud services api-keys update`.\n"]]