JMRSDK Development
v4.38
v4.38
  • Jio Mixed Reality SDK Documentation
    • Changelog 4.38
      • Upgrade Guide 4.38
    • Application Requirements
  • Device Information
    • JioGlass
    • JioDive
  • Supported Smartphones
  • Controller Specifications
    • Physical Controllers
    • External Gamepad
    • Virtual Controller / Virtual Keyboard for JioGlass
  • Getting Started
    • Development Platform
    • Setting Up Jio Mixed Reality Project in Unity
    • URP Support
      • Setting Up Your Project With URP
      • Reverting Back to Built-In Render Pipeline
  • JMRSDK
    • JMRSDK Content
    • JMRMixedReality Prefab
    • System Dock
    • JMRRig
      • Local Rig
      • Setting Homepage (Quit functionality)
      • Recenter Application on Resume
  • Develop
    • Editor Emulator
    • JioGlass Controller Interactions
    • Cameras
    • Tesseract Mixed Reality UI Toolkits
    • Examples
    • Video Tutorials
  • Interaction
    • Gaze Interaction
      • Gaze and Click
      • Gaze and Dwell
    • Interaction
      • Pointer Manager
        • Examples
      • Active Input Source
    • Interfaces
      • IFocusable
      • ISelectHandler
      • ISelectClickHandler
      • IBackHandler
      • IHomeHandler
      • IMenuHandler
      • IFn1Handler
      • IFn2Handler
      • ITouchHandler
      • ISwipeHandler
      • IVoiceHandler
      • IManipulationHandler
    • Controller Input Actions
      • Touchpad - Touch
      • Touchpad - Swipe
      • Source Buttons
      • Manipulation
    • Actions
    • Device State
      • JioDive Device State
      • JioGlass Device State
      • Controller Device State
  • Voice
    • Voice
      • Speech Events
      • Speech Result
      • Speech Error
      • Speech Session End
      • Speech Cancel
    • Listening
  • Tracking
    • Tracking
      • Coordinate System
    • Tracking Framework
      • TrackerManager Actions
        • Get Head Position
        • Get Head Rotation
        • Get Head Transform
      • TrackerManager Methods
        • Get Head Position
        • Get Head Rotation
        • Get Head Transform
    • Recenter
  • Building and Testing
    • Building to Target Device
      • Merging AndroidManifest
      • Performance Optimization
      • App optimization
    • Running your application
      • JioImmerse App For Jio Mixed Reality (JMR) Devices
      • Running the application on Prism (Holoboard)
    • IPD Calibration
  • Publish
    • Branding Guidelines
    • Licensing Journey In Android JioImmerse
    • Signing your App
    • Publishing to Google Play Store
      • Play Store Upload Journey
    • Publishing to JioImmerse Developer Console
    • Publishing to Apple Store
    • Licensing Journey in iOS JioImmerse
    • iOS Deep linking
  • Capturing and Recording
    • Capture Videos and Screenshots
      • Capturing Screenshot/Videos using scrcpy
      • Capturing Screenshot/Videos using Vysor
  • Troubleshooting
    • FAQs - Develop
    • FAQs - Building to device
      • Gradle
      • FAQs - iOS
    • FAQs - Running and Publishing
    • Laser Point Not Visible
Powered by GitBook
On this page
  • Configuring your Project for the build device
  • Configuring Interaction in AndroidManifest
  • Adding Category Tag In AndroidManifest
  • Setting up Unity for Target Device
  • Player Settings
  1. Building and Testing

Building to Target Device

Steps to follow before every build

PreviousRecenterNextMerging AndroidManifest

In this section, we will look at the steps to build your application for JioDive.

Configuring your Project for the build device

To build for:

1. JioGlass Lite - Configure for Lite

2. JioPrism (Holoboard) - Configure for Holoboard

3. JioDive - Configure for Cardboard

  • Example: For Dive, Navigate JioMixedReality -> Manifest -> Configure for Cardboard as shown below

  • Ignore any debug errors if present. You will get a debug log saying Manifest status as completed when the process completes successfully.

  • Your project is now set up to build Applications for JioGlass Lite Ecosystem.

Configuring Interaction in AndroidManifest

Select all the interactions that the build application will support.

Adding Category Tag In AndroidManifest

From JMRSDK 4.32.17+ Category selection has been added in JioMixedReality > Manifest > Configure Category dropdown

Alternative: Manual Method

Find the value corresponding to your application category from the table below -

Category
Value

Entertainment

0

Gaming

1

Learning

2

Productivity

3

Utilities

4

Health and Wellness

5

Shopping

6

Miscellaneous

7

  • Edit the "android:value" parameter in the following line in your AndroidManifest to reflect your JioGlass Lite Application in the right category. Ensure that you use the same category as used in Developer Console while creating your application listing

Example for Gaming category application. app.
<meta-data android:name="com.jiotesseract.mr.category" android:value="1" />

Setting up Unity for Target Device

  • Go to File -> Build Settings to open the Build Settings dialogue box.

  • In Platform under Build Settings, Choose Android and click on Switch Platform if not done already as the destination platform.

  • Ensure your scene(s) are added to the Scenes in the Build section. If not, then open your current scene(s) in the unity editor and click on Add Open Scenes under build settings. You can also drag and drop your scene into the build settings window.

  • Click on Player Settings to configure the player settings for your target device.

Player Settings

Ensure that your Target Device and the Development System are configured to build for Android.

Configure the Player Settings as shown below for Android Device

  • Under the Resolution and Presentation tab, set the Default Orientation to Landscape Left.

  • Under the Other Settings tab, set the Graphics APIs to Vulkan and OpenGLES3 and/or OpenGLES2.

  • Under the Other Settings tab, deselect the Multithreaded Rendering, if you are using Camera or Mediaplayer.

  • Under the Other Settings tab, set the Minimum API Level to Android 9.0 (API Level 28) or above and Target API Level to Android 13.0 (API Level 33).

  • Plugin your Target Android device into your Development System.

  • Build the Application.

This might differ if you are using URP, refer to .

Apply steps for building with the application on the latest arm64 architecture and get the best performance for your application

URP Support
Performance optimization
Configure for the required device