מאגר הדוגמאות של Places SDK ל-Android מופעל
GitHub
כולל אפליקציות לדוגמה שמדגימות את השימוש ב-Places SDK ל-Android.
לייבא ולבנות את האפליקציה, להוסיף את מפתח ה-API, לצפות בהדגמה ולהשתמש בקוד לדוגמה שסופק
נקודת ההתחלה של האפליקציה.
כשמריצים את האפליקציה לדוגמה, מוצגת רשימה של דוגמאות זמינות שניתן
לפעול במכשיר שלכם. בוחרים באחת מהאפשרויות. לדוגמה, לוחצים על
השלמה אוטומטית במקום.
שכפול והרצה של הדוגמאות
נדרש Git כדי להריץ את הדוגמה הזו באופן מקומי. הפקודה הבאה תשכפל את הדוגמה
של Google Apps.
[[["התוכן קל להבנה","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"]],["עדכון אחרון: 2024-08-21 (שעון UTC)."],[[["This page provides instructions for setting up and running sample apps that demonstrate the use of the Places SDK for Android."],["The sample apps are available in both Kotlin and Java, accessible through a GitHub repository."],["You'll need to clone the repository, import the project into Android Studio, and configure your API keys to run the examples."],["The provided samples showcase various functionalities like Place Autocomplete, offering a starting point for developing your own Android apps with Places SDK."],["Troubleshooting information is included if the map doesn't display, guiding you to verify the API key configuration."]]],[]]