🖌️
Developer Portal
  • ThirdEye Gen Developer Portal
  • Android Studio Development
    • Getting Started In Android Studio
    • Build Your First App in Java
    • Developer Guidelines
    • Integrating Voice Commands
    • Configuring audio with WebRTC
    • Flashlight/torch control during video capture
  • VisionEye SLAM Developement
    • Getting Started in Unity
    • ThirdEye Alpha1 Unity Development
  • General
    • OTA Update Instructions
Powered by GitBook
On this page
  • IDE Settings
  • Screen Mirroring for Debugging/Testing on the X2

Was this helpful?

  1. Android Studio Development

Getting Started In Android Studio

PreviousThirdEye Gen Developer PortalNextBuild Your First App in Java

Last updated 4 years ago

Was this helpful?

To get started you will need:

  • Android Studio 3.6 or higher.

  • X2 Headset to test and debug

This guide will provide you with information on the specific differences involved in developing for the X2 platform, and how to enhance the user experience by optimizing your app for the X2’s heads-up display and advanced User Interface.

This guide assumes that you possess a working knowledge of the Java programming language, and the Android Software Development Kit. You can reference the official to learn the basics of developing apps for the Android platform.

Important Note: The X2 is not compatible with Google Play or associated Google Mobile Services (GMS). If your app requires connection to GMS-based services (ARCore, Firebase, Google Translate, Google Speech Recognition, etc), it will not be able to access those resources while running on the X2.

IDE Settings

To ensure compatibility, and to improve the accuracy of the screen previews provided in Android Studio, use the following settings/parameters while developing your app for the X2. In your app module’s build.gradle file, set “compileSdkVersion” to “28, set “minSdkVersion” to “27”, and set “targetSdkVersion” to “28”. When utilizing the layout preview window in Android Studio, use the following settings:

  • Orientation for Preview: Landscape

  • Device for Preview: TV(720p)

Screen Mirroring for Debugging/Testing on the X2

For testing/debugging on your X2 device, especially during periods of debugging prior to usability testing, we recommend using a screen-mirroring tool, like Vysor or scrcpy, to view/interact with your X2 via computer screen and mouse/keyboard. You can download the latest free versions here:

https://www.vysor.io/download/
https://github.com/Genymobile/scrcpy
Android Software Developer Guides