Skip to content
EJDB2 Sample Android todolist application
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
.settings
.vscode
app
ejdb2 @ 22850b5
gradle/wrapper
screens
.gitignore
.gitmodules
.project
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
local.properties
settings.gradle

README.md

EJDB todolist sample application

screen1

Setup

  1. Init ejdb2 submodule, run git command
    git clone https://github.com/Softmotions/ejdb_android_todo_app.git
    cd ./ejdb_android_todo_app
    git submodule update --init
  2. Open Android SDK Manager and install LLDB, CMake (version >= 3.10), NDK.
  3. Install Ninja build system
    apt-get install ninja-build

Create local.properties

Set local android SDK/NDK path and target arch in local.properties

# Path to Android SDK dir
sdk.dir=/Android-sdk

# Path to Android NDK dir
ndk.dir=/Android-sdk/ndk-bundle

# Target abi name: armeabi-v7a, arm64-v8a, x86, x86_64
abi.name=arm64-v8a

Assemble apk

./gradlew assembleDebug
or
./gradlew assembleRelease

Install to connected device

./gradlew installDebug
or
./gradlew installRelease
You can’t perform that action at this time.