Corona Enterprise — Android

The following resources go further in depth on using Corona Enterprise for Android.

Getting Started

If you don't already have a native Android development environment set up, please begin with the Android Setup guide. This walks you through setting up a native development environment that's designed to work with Corona Enterprise.

In addition, we include a series of sample projects bundled with the Corona Enterprise download. Please inspect the extensive comments in the sample code to get started quickly.

Android Studio Integration

Please see the Android Studio Integration guide to assist you in configuring a Corona Enterprise project to use Android Studio.

Project Structure

To better understand how a Corona Enterprise for Android project fits together, please review the Project Structure guide.

Development

Bridging Lua/Java

To bridge Lua and Java code, you'll use functionality made available by JNLua. This allows you to add libraries and functions in Lua that call directly into Java.

Native APIs

The native APIs for Android are available as a JavaDoc.

Using Common Android Libraries

If you're developing a plugin that depends on the Android Support Libraries or Google Play Services, please read our Android Dependency Integration guide.

Runtime Permission Support

For information on working with Android Runtime Permissions in Android 6.0 or newer, please read our Android Runtime Permission Support guide.

Building for Devices

To build a Corona Enterprise project from Android Studio, simply use the Run button on the top bar of icons. This will build your project, sign it, and prompt you to select a deployment target. The built .apk is signed with either a keystore you've specified in the androidsigningConfigs block of the android/app/build.gradle script, or the default debug.keystore if none is provided.

Android Studio has several other build-related options that you can read about here.