Magic Leap, the most secretive AR company, unveiled Magic Leap One AR glasses last year.

The world’s top three AR glasses have attracted the attention of a large number of developers. Magic Leap has launched a series of tools, including the Creator platform and Lumin SDK, to help developers build AR applications and promote the development of AR content market.

At present, there are few articles about developing Magic Leap glasses apps in China, so we have compiled some Magic Leap One development tutorials for you according to the official API documents and your experience in the development process, so as to help you understand the whole development process and quickly start developing AR glasses apps. Together, we are driving the development of the entire AR content market.

Step 1: Install the tool

Magic Leap Package Manager is a standalone desktop application that allows developers to easily install SDK packages, software tools, and sample code.

1. Download the Package Manager Installer:https://creator.magicleap.com/downloads

2. Start the Magic Leap Package Manager. Find the package you want to install, select it, and the package details are displayed on the right.

3. Select the version you want from the list of available versions and click the download icon on the far right pair. Go ahead and select any other packages to install.

4. When you’re done, click Apply Changes in the status bar at the bottom.

Step 2: Prepare the Magic Leap One device

1. Prerequisites

  • Email registration (Creator Portal:https://creator.magicleap.com/)

  • The Wi-Fi connection is normal

2. Set the development environment

  • Creator Mode: Displays the Creator Settings on the device.

  • Allow untrusted sources? : Lets the device load apps that have not been approved by Magic Leap. Note: The application must still be signed using the Creator portal’s certificate.

  • Enable MLDB Access: Uses the Magic Leap Debug Bridge (MLDB) to Enable the device to communicate with the computer through USB or WiFi


Step 3: Get a developer certificate

1. There are two types of certificates:

  • Development: Use this certificate type to sign the application during Development. Developers can generate up to two development certificates.

  • Submission: Use this certificate type to sign the application when the developer is ready to submit it to Magic Leap World. Each application must use a unique submission certificate.

2. In the Magic Leap Creator Portal, click Publish > Certificates.

3. Click Create Certificate or Add New.

4. Enter a name for the certificate

Start downloading the privateKey.zip file. If this file is misplaced, a new certificate is generated. It takes a few minutes to generate the certificate, refreshing the page periodically until the certificate status changes from suspended to active.

5. Click the Download button next to the certificate to download the. Cert file.

6. Extract the. Privkey file.

7. Move the.privkey and.cert files to the same folder.

After you have downloaded the.privkey and.cert files in the same directory, you can sign your application.


Step 4: Choose a development platform

The Lumin SDK provides apis and frameworks covering different 3D engines and programming languages.

Developers can choose their development platform based on their skill set (Unity is the default development platform used in this series).


Start the Simulator

1. Open Magic Leap Package Manager, select the required Version of Lumin SDK, and click Use ML Remote.

2. In the Magic Leap Remote window, click Start Simulator.

3. The interactive window will appear and you should see Leaper. You may also receive an error message (room data cannot be found). This can be ignored and the room data will be loaded next.

4. In the Magic Leap Remote window, check that the status of all components is green.

5. In the interactive window, click Load Virtual Room… In this Mini Map window.

6. Navigate to the folder

> MagicLeap > MLSDK > v#.##.# > VirtualDevice > data > VirtualRooms > ExampleRooms if desired.

7. Select Lounge. Room and click Open.

At this time, you have successfully started Magic Leap Remote. No matter in the later development and learning, Remote is very important to us, and it is the premise for us to develop wonderful AR glasses applications. This tutorial will introduce you to some basic preparation work before developing Magic Leap app. We will introduce relevant basic tutorials and practical development techniques later.

——AR Portal (AR developer community)

Follow wechat public account (AR developer exchange community, provide AR development dry goods, promote THE development of AR content) : AR developer community