Panduan developer geospasial untuk Android NDK (C)
Pelajari cara menggunakan Geospatial API di aplikasi Anda sendiri:
Aplikasi dan codelab contoh
Jika Anda ingin menjalankan aplikasi contoh yang menunjukkan fungsi yang dijelaskan
di sini, lihat
Panduan Memulai Geospasial ARCore untuk Android
untuk Java. Aplikasi contoh di Panduan Memulai ditulis dalam Java. Contoh kode
dalam dokumen ini ditujukan untuk fungsi yang sama yang ditulis dalam C.
Persyaratan pengembangan
Jika Anda baru menggunakan ARCore, lihat Memulai
untuk mengetahui informasi tentang persyaratan software dan hardware, prasyarat, dan
informasi lainnya yang khusus untuk platform yang Anda gunakan.
Pastikan lingkungan pengembangan Anda memenuhi persyaratan ARCore SDK, seperti
yang dijelaskan dalam Panduan Memulai untuk Java.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-02-28 UTC.
[null,null,["Terakhir diperbarui pada 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"]]