anacoimbrag / android-augmented-reality

Android app to run experiments on Augmented Reality with ARCore.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Augmented Reality for Android

This is an educational app for testing the Google ARCore library with Sceneform.

Unfortunately Sceneform was discontinued during the project development, so we had to downgrade and use the latest stable version so the features could work properly.

Working with Augmented Reality

If you want to know the details of how ARCore and Sceneform work, and more details about how this project was done, please checkout this codelab

It's important to know that only a few devices have ARCore support. If your device doesn't support you can configure an emulator or test the "No AR" feature of the app. You can check if your device is supported in this list.

Installation

Clone this repository and import into Android Studio

git clone https://github.com/anacoimbrag/android-augmented-reality.git

Pre-requisites:

Configuration

Build variants

Use the Android Studio Build Variants button debug and release build types

Build APK

Generating signed build from Android Studio

  1. Build menu
  2. Generate Signed APK...
  3. If you are generating a build for publish choose App Bundle, if is for sending a build for installing directly on device choose APK
  4. Fill in the keystore information (you only need to do this once manually and then let Android Studio remember it)

Build from command line

Build debug APK

To build a debug APK, open a command line and navigate to the root of your project directory—from Android Studio, select View > Tool Windows > Terminal. To initiate a debug build, invoke the assembleDebug task:

gradlew assembleDebug

This creates an APK named module_name-debug.apk in project_name/module_name/build/outputs/apk/. The file is already signed with the debug key and aligned with zipalign, so you can immediately install it on a device.

Or to build the APK and immediately install it on a running emulator or connected device, instead invoke installDebug

gradlew installDebug

Build a release APK

When you're ready to release and distribute your app, you must build a release APK that is signed with your private key. If you don't have a private key or need help, see Sign Your App.


For more information checkout Android Developer Documentation

About

Android app to run experiments on Augmented Reality with ARCore.

License:GNU General Public License v3.0


Languages

Language:Kotlin 100.0%