AI Features

In-Browser Interactivity via XR Widget

Learn about the XR widget to seamlessly run VR applications on our headset.

Overview of ADB and WebADB

There are instances where we need our PC to interact with an external Android device. This can include installing an application directly from the local machine to our Android devices. Android Debug Bridge (ADB) is a command line tool that facilitates communication between Android phones and computers. This communication can involve file transfers.

Sending files using local ADB via USB cable
Sending files using local ADB via USB cable

In the context of general Android development, ADB enables communication between a PC and Android phones.

Sending files using WebADB via USB cable
Sending files using WebADB via USB cable

However, in the case of WebADB, communication occurs between the PC’s browser and Android devices.

Introduction to the XR widget

It’s common for VR development guides to become confusing when users can’t verify whether they were able to correctly follow the development and configuration instructions. To this end, we’ve introduced an XR widget so we can validate our progress at different checkpoints to see whether our local build is similar to the version offered via the XR widget.

The XR widget is designed to sideloadSideloading is installing an app on a device without using an official application store. APKs and execute commands via ADB Shell from the Educative platform into Android devices via USB cable. The user will see the XR widget as follows:

The XR widget interface
The XR widget interface

On clicking the “Run Application” button, the user sees the following:

The XR widget (user-side) after clicking the “Run Application” button
The XR widget (user-side) after clicking the “Run Application” button

Here’s a guide on how to use the widget. The widget essentially sideloads the APKs that we’ve created from the Educative platform to our Meta Quest devices. It has two modes:

  • Browser mode, in which we need to configure a few local settings

  • Local mode, in which we need to copy and paste the command to experience VR

Mode 1: Browser (default)

The browser mode allows the Educative platform to directly interact with the Android device.

Prerequisites

There are a few configurations that need to be done to experience the APK or command.

  • Make sure that no other ADB server instances are running on our machine. If there is any server running, we must stop the process first. To stop the ADB process from the platform-tools directory, navigate to the following path:

Ask