turtl / android

Holds the wrappers (cordova) to run Turtl on Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Turtl Android

Opening an issue? See the Turtl project tracker

Building/running

The Android app uses Cordova/the android SDK/node/npm to build, and assumes the following directory structure:

turtl/
    js/
    android/

It pulls the assets from the js project and uses them as the interface, and uses codrova for building the APK. Depending on the architecture of your phone, you'll have to compile the core for either armv7 or armv8 and put the resulting libturtl_core.so file into the proper place in `turtl/android/native/``:

turtl/
    android/
        native/
            arm64-v8a/        # <- put libturtl_core.so for armv8 here
            armeabi-v7a/      # <- put libturtl_core.so for armv7 here

Regarding building the core for specific platforms, if might be helpful to refer to the Turtl build on F-Droid: https://gitlab.com/Rudloff/fdroiddata/commit/a0fb62454c3c98aea19cb0641cd5d1fd74c568ad

The general android build instructions are as follows:

One time setup

cd turtl/js/
npm install
cd ../android
npm install
cordova platform

I think that should do it.

Building

make build

This builds a debug APK somewhere under platform/android/

About

Holds the wrappers (cordova) to run Turtl on Android

License:GNU General Public License v3.0


Languages

Language:Java 63.4%Language:JavaScript 24.7%Language:Makefile 6.1%Language:Shell 5.6%Language:Smarty 0.1%