ตัวอย่างโค้ดของ Navigation SDK สำหรับ Android
ที่เก็บตัวอย่างใน GitHub ของ Navigation SDK สำหรับ Android
มีแอปตัวอย่างที่แสดงการใช้ SDK คุณสามารถนำเข้าและ
สร้างแอป เพิ่มคีย์ API ดูการสาธิต และใช้โค้ดตัวอย่าง
ที่ให้ไว้เป็นจุดเริ่มต้นสำหรับแอปของคุณได้ โดยที่เก็บมีแอปตัวอย่าง 2 แอป ได้แก่
- Map-sample ซึ่งเป็นตัวอย่าง UI ของ MapView และ NavView
android-navigation-samples/map-sample/
- Navigation-sample ประสบการณ์การนำทางพื้นฐาน
android-navigation-samples /navigation-sample/
ดูข้อมูลเพิ่มเติมเกี่ยวกับการเรียกใช้แอปตัวอย่างได้ที่ลองใช้
เดโม
Codelab ของ Navigation SDK สำหรับ Android
ดูวิธีใช้ Navigation SDK โดยการสร้างแอป Android อย่างง่ายได้ที่
Codelab ของ Navigation SDK สำหรับ Android
Codelab มีคำแนะนำแบบทีละขั้นตอนสำหรับการติดตั้งใช้งาน SDK โดยใช้ Kotlin
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-13 UTC
[null,null,["อัปเดตล่าสุด 2025-07-13 UTC"],[[["The Navigation SDK for Android provides sample apps on GitHub that demonstrate the use of the SDK, allowing developers to import, build, and explore the code."],["The repository features two key samples: \"Map-sample\" focusing on MapView and NavView UI, and \"Navigation-sample\" showcasing the core navigation experience."],["A dedicated Codelab offers a step-by-step guide to build a simple Android app using the Navigation SDK with Kotlin, aiding developers in practical implementation."]]],[]]