Image Test Title for Android - magic-lantern-android-studio/mle-documentation GitHub Wiki
This documentation describes how to build and run the Image Test for the Android target platform. Currently, the build default is configured for the Android Oreo Platform (version 26).
The title simply displays the wwlogo.png image file.
Table of Contents
Dependencies
The Image Tets Title for Android has the following dependencies:
- Android Magic Lantern Core Math Library, mlmath.jar (see build instructions for core-math)
- Android Magic Lantern Core Runtime Engine Library, mlert.jar (see build instructions for core-runtime)
- Android Magic Lantern Application Framework Base Library, parts.jar (see build instructions for parts-base)
- Android Magic Lantern Application Framework Media Reference Library, mrefs.jar (see build instructions for parts-mrefs)
- Android Magic Lantern Application Framework Roles Library, roles.jar (see build instructions for parts-roles)
- Android Magic Lantern Application Framework Props Library, props.jar (see build instructions for parts-props)
- Android Magic Lantern Application Framework Stages Library, stages.jar (see build instructions for parts-stages)
- Android Magic Lantern Application Framework Sets Library, sets.jar (see build instructions for parts-sets)
- Android Magic Lantern Application Framework Actors Library, actors.jar (see build instructions for parts-actors)
Build Instructions
To build the Magic Lantern Image Test title, first build the dependent core and parts libraries identified above.
To build the title, titles-imagetest, open the existing Android Studio project found at "~/MagicLantern/titles-imagetest". In the Android Studio launch screen, select "Open an Existing Project". In the "Open File or Project" dialog panel, navigate to "~/MagicLantern/titles-imagetest" directory and select "OK". This will bring up the main Android Studio IDE, showing the "titles-imagetest" project in the "Project" window (you may need to expand this Window to see the project. By default, the project should successfully build.
Note: You may need to install the build tools and sync the project before the build is successful. The "Messages Gradle Sync" window will display an Error if this is the case.
The Android Package will be created in the project's "app/build/outputs/apk" directory.
Title Execution
The image test title can be executed in an Android Emulator device configured for the Oreo Android Platform (26).