HelloWorldAndroid sample application for Android
The HelloWorldAndroid sample application is a very simple Android application, consisting of an EngineActivity with the Android version of the Carmenta Engine MapControl.
Prerequisites
To build this sample, you need to download and setup Android Studio, available from http://developer.android.com/sdk. The download includes the Android SDK tools and the Android Studio IDE.
You also need a valid Carmenta Engine SDK or Carmenta Engine Evaluation license key.
Building and running the sample
Unpack the HelloWorld archive.
Start Android Studio and import the project.
Copy the carmenta-engine.aar file from the libs directory to the app/libs/ directory under the unpacked project.
Locate your Carmenta Engine license key file on your PC (C:\ProgramData\Carmenta\License.carmentakey or /etc/Carmenta/License.carmentakey). Copy the license file to app/src/main/assets/carmenta.engine/data/.
Build and run from Android Studio. To run in the emulator make sure you select the x86-64 ABI when you configure the emulator.
The sample application will display a map window with a sample map configuration, with full pan and zoom functionality.
![]() |