คู่มือนักพัฒนาซอฟต์แวร์รวบรวมข้อมูลทางภูมิศาสตร์สำหรับ Android NDK (C)
ดูวิธีใช้ Geospatial API ในแอปของคุณเอง
ตัวอย่างแอปและ Codelab
หากต้องการเรียกใช้ตัวอย่างแอปที่สาธิตฟังก์ชันการทำงานที่อธิบายไว้ที่นี่ โปรดดูการเริ่มต้นใช้งาน Geospatial ของ ARCore อย่างรวดเร็วสําหรับ Android สําหรับ Java แอปตัวอย่างในการเริ่มต้นใช้งานอย่างรวดเร็วเขียนด้วย Java ตัวอย่างโค้ดในเอกสารนี้มีไว้สำหรับฟังก์ชันการทำงานเดียวกันซึ่งเขียนด้วย C
ข้อกำหนดในการพัฒนา
หากคุณเพิ่งเริ่มพัฒนาด้วย ARCore โปรดดูข้อมูลเกี่ยวกับข้อกำหนดของซอฟต์แวร์และฮาร์ดแวร์ ข้อกําหนดเบื้องต้น และข้อมูลอื่นๆ ที่เฉพาะเจาะจงสําหรับแพลตฟอร์มที่คุณใช้ในส่วนเริ่มต้นใช้งาน
ตรวจสอบว่าสภาพแวดล้อมการพัฒนาของคุณเป็นไปตามข้อกําหนดของ ARCore SDK ตามที่อธิบายไว้ในเริ่มต้นใช้งานอย่างรวดเร็วสําหรับ Java
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-02-28 UTC
[null,null,["อัปเดตล่าสุด 2025-02-28 UTC"],[[["The Geospatial API enables developers to build AR apps that interact with the real world using VPS and terrain anchors."],["This documentation provides guides and resources for enabling the API, checking VPS availability, obtaining device pose, utilizing geospatial and terrain anchors, and understanding API usage quotas."],["A sample app and codelab are available for quickstart and exploration of the Geospatial API's features, primarily focusing on Android development with Java and C."],["Developers new to ARCore are encouraged to review getting started resources to ensure their environment meets the necessary requirements for AR development using this API."]]],["The content outlines using the Geospatial API in apps, detailing key actions: enabling the API, checking VPS availability, determining the device's Geospatial pose, and working with Geospatial and Terrain anchors. It also mentions API usage quotas. A Java sample app is available in the ARCore Geospatial Quickstart for Android, with C code examples for the same functions. Developers should also check the ARCore SDK requirements in the Quickstart.\n"]]