Przewodnik dla programistów geoprzestrzennych dla Androida NDK (C)
Dowiedz się, jak używać interfejsu Geospatial API we własnych aplikacjach:
Przykładowa aplikacja i Codelab
Jeśli chcesz uruchomić przykładową aplikację, która przedstawia opisane tutaj funkcje, zapoznaj się z krótkim wprowadzeniem do ARCore Geospatial na Androida o Javie. Przykładowa aplikacja w krótkim wprowadzeniu jest napisana w języku Java. Przykłady kodu w tym dokumencie dotyczą tej samej funkcji napisanej w języku C.
Wymagania dotyczące programowania
Jeśli dopiero zaczynasz tworzyć aplikacje z wykorzystaniem ARCore, zapoznaj się z artykułem Pierwsze kroki, aby dowiedzieć się więcej o wymaganiach sprzętowych i programowych, wymaganiach wstępnych oraz innych informacjach dotyczących platform, których używasz.
Upewnij się, że Twoje środowisko programistyczne spełnia wymagania pakietu ARCore SDK opisane w krótkim wprowadzeniu do języka Java.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-11-08 UTC.
[null,null,["Ostatnia aktualizacja: 2024-11-08 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"]]