Android Developer Home Page - magic-lantern-android-studio/mle-documentation GitHub Wiki

Welcome to the Magic Lantern Android Developer Wiki. This tool is used to provide documentation concerning the development tasks and methodologies for the Magic Lantern Android projects. Here you can find reference to valuable information concerning Magic Lantern development tasks as it pertains to the Android platform.

Table of Contents

Build Instructions

The Magic Lantern Android components are currently developed using the C++ and Java programming languages. This section describes how to build the components for the various technologies targeted by the Magic Lantern SDK and tool chain for the Android platform.

Magic Lantern SDK Components

The Magic Lantern Software Development Kit is comprised of a Runtime Engine and components, or parts, that are used to construct the application title. These parts are called Actors, Roles, Sets, Stages and Mediarefs.

An Actor is the basic unit of action and presentation within a title. A Role is the software module that handles the actors platform-dependent presentation on a set. A Set is an abstract view of a collection of actors that are presented on a stage. A set is used to manage a presentation, such as a 3D scene-graph or 2D windowing environment. The Stage is a collection of services on the target platform, such as rendering, input, sound, physical modeling, proximity and collision detection, and event handling. The stage, set, and role are the platform specific components in a Magic Lantern title. The actor is a platform independent component in a Magic Lantern title. Finally, a Mediaref is an object used to reference the representation of media across multiple platforms. It is currently a pointer to an outside media file, such as a graphics image or an audio file.

The Magic Lantern Android SDK is currently available as Java JAR packages. The Java JAR packages are currently built using the Android Studio development environment. The instructions for building the SDK can be found at

Testing the Android Target

The following titles may be used to test the Magic Lantern Android Target:

  • Image Test Title
  • Cube Test Title
  • Model Test Title
  • HelloCube Title