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. It contains an example on using Java 8 with Android using Jack Options and an example of how to use Onyx Database to retrieve application data.
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.