The example application illustrates how to create an Android application with an in-memory database. The Android application is a simple master detail application for displaying cookbook recipes. It contains the entire Gradle configuration and dependencies. Starting in Onyx 2.1.0, it can fully support Java 1.7, 1.8, and Kotlin mixed JVM language targets.
You can download the code for this example here: OnyxDevTools/onyx-database-samples/onyx-android-example.
Add maven central as a dependency source and add the latest Onyx as a dependency.
In this example we are using an cache in memory database. Alternatively you can connect to a remote or embedded database instance.
Upon executing your application, Onyx has automatically created an embedded database. This is a simple example on how to get started with Android. Other tutorials also contain information that apply to building out graph data models and interacting with the Persistence Manager API.