chocolatemaio.blogg.se

Kotlin android github
Kotlin android github





kotlin android github

Given that you'll also be using Sceneform in this exercise, you'll also need to make sure to follow the steps under "Configure the emulator to support Sceneform." If you don't have an ARCore supported device, you can alternatively use the Android Emulator to simulate an AR scene as well as fake your device's location. Note: You need to sign in to an existing Google Account or create a new one as part of the sign-up process. Enable Google Maps Platform APIs and SDKs (listed in the previous section).If you haven't used Google Maps Platform before, follow the Get Started with Google Maps Platform guide or watch the Getting Started with Google Maps Platform playlist to complete the following steps: In Step 3 of the following section, enable Maps SDK for Android and Places API for this codelab. Lastly, install Google Play services by going to the SDK Tools tab, select the checkbox next to Google Play services, click OK, then select OK again in the dialog that appears**.**.If not, install it by selecting the checkbox next to Android 10.0 (Q), then click OK, and finally click OK again in the dialog that appears. Go to the SDK Manager, which you can access by clicking Tools > SDK Manager.To install both of these dependencies, complete the following steps: This codelab uses Android 10.0 (API level 29) and requires that you have Google Play services installed in Android Studio. An ARCore supported device or an ARCore enabled Android Emulator (instructions are provided in the next step).A development machine that supports OpenGL ES 3.0 or higher.Collect information about the device's position in space using SensorManager and use the Maps SDK for Android Utility Library to position virtual objects at the correct heading.Integrate with ARCore to find horizontal plane surfaces so that virtual objects can be anchored and placed in 3D space using Sceneform.Integrate with Places API to fetch nearby places around the device's location.Request permission from the user to access the device's camera and location.Basic understanding of Android development using Android Studio.This codelab teaches you how to use data from Google Maps Platform to display nearby places in augmented reality (AR) on Android.







Kotlin android github