How to Use ARCore in Android App

Updated 4 September 2026

Save

In this blog, we will learn how to use ARCore in Android App.

Introduction

ARCore is a Google platform for creating augmented reality experiences in Android apps. It helps the app understand the real world using the camera and device motion.

In this demo app, we are using SceneView with ARCore. It helps us show an AR camera view, detect a plane, and place a 3D model on the detected surface.

You can also check our ARCore Library for Android blog.

arcore

What We Will Build

In this blog, we will create an Android AR app that loads a remote .glb model. When the user finds a plane, the app allows the user to tap and place the model.

After placing the model, the user can drag to rotate it and pinch to zoom it. This makes the AR model interactive inside the app.

You can also read about AR model in Android.

Prerequisites

Before starting, make sure you have the setup below.

  1. Android Studio installed in your system.
  2. Android device that supports ARCore.
  3. Google Play Services for AR installed or updated.
  4. Basic knowledge of Kotlin and Android.
  5. A demo Android project for AR implementation.

Implementation

Now we will implement ARCore in the Android app step by step.

Add SceneView Dependency in Version Catalog

When we create a new Android project, many Gradle entries are already added. So here we only need to add the SceneView AR dependency.

Open gradle/libs.versions.toml and add the below lines.

Here we added sceneview-ar, which provides the AR scene view used in this project.

Add Dependency in App Gradle File

Now open the app-level build.gradle.kts file. Add only the required SceneView dependency inside the dependencies block.

In this project, minSdk is already set to 30. So it can support ARCore features.

Update AndroidManifest File

Now add camera, internet, and ARCore support in the AndroidManifest.xml file. Here we only show the required permission, feature, and metadata entries.

Here, com.google.ar.core is marked as required. So the app will run on ARCore-supported devices.

For more details, check the official ARCore setup guide.

Create AR Layout

Now create the layout file for the AR screen. This layout contains ARSceneView for showing the camera view and a TextView for showing user instructions.

The ARSceneView fills the complete screen. The hint text is shown at the top of the screen.

Create Model Controller

Now create ArModelController.kt. This file manages model rotation and zoom gestures after the model is placed.

Create Main Activity

How ARCore Works in This App

Here is the Output of the project

Benefits of ARCore in Android App

Conclusion

In this blog, we learned how to use ARCore in Android App using the provided demo project source code. We added the main Gradle, manifest, layout, controller, and Activity files.

We also placed a 3D model on a detected plane and added gestures for rotate and zoom. You can also check the official ARCore setup guide for more details.

Thanks for reading this blog.

Please check my other blogs here.

Read more Android blogs.

 

 

 

 

 

 

 

 

 

 

author
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Start a Project


    success

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home