Das Places SDK for Android-Beispiel-Repository auf
GitHub
enthält Beispiel-Apps, die die Verwendung des Places SDK for Android veranschaulichen.
Importieren und erstellen Sie die App, fügen Sie Ihren API-Schlüssel hinzu, sehen Sie sich die Demo an und verwenden Sie den Beispielcode als
als Ausgangspunkt für Ihre App.
Wenn Sie die Beispiel-App ausführen, wird eine Liste der verfügbaren Beispiele angezeigt, die Sie
auf Ihrem eigenen Gerät ausführen. Wählen Sie eine der Optionen aus. Klicken Sie beispielsweise auf
Place Autocomplete
Beispiele klonen und ausführen
Um dieses Beispiel lokal auszuführen, ist Git erforderlich. Mit dem folgenden Befehl wird das Repository der Beispiel-App geklont.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 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."]]],[]]