Repositori contoh Places SDK for Android di
GitHub
menyertakan aplikasi contoh yang menunjukkan penggunaan Places SDK for Android.
Impor dan build aplikasi, tambahkan kunci API, lihat demo, dan gunakan kode contoh yang diberikan sebagai titik awal untuk aplikasi Anda.
Saat Anda menjalankan aplikasi contoh, aplikasi ini akan menampilkan daftar contoh yang tersedia dan dapat dijalankan di perangkat Anda sendiri. Pilih salah satu opsi. Misalnya, klik
Place Autocomplete.
Meng-clone dan menjalankan contoh
Git diperlukan untuk menjalankan contoh ini secara lokal. Perintah berikut meng-clone repositori aplikasi contoh.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-04-26 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."]]],[]]