An Android frontend for the Xi text editor.
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
app
gradle/wrapper Checkpoint Dec 9, 2017
.gitignore Checkpoint Dec 9, 2017
LICENSE.md
README.md
build.gradle Checkpoint Dec 9, 2017
gradle.properties Checkpoint Dec 9, 2017
gradlew Checkpoint Dec 9, 2017
gradlew.bat Checkpoint Dec 9, 2017
settings.gradle

README.md

xi-android

An Android frontend for the Xi text editor.

Note: this is based on an old version of Xi. Development started on Dec. 27, 2016 so in order to build the current version you'll want to checkout Xi/syntect versions from around that time.

Build and run

  1. Set up rustc for cross-compiling on Android, and build xi-core and syntect for Android with cargo, e.g. cargo build --target i686-linux-android for x86 Android
  2. Put the resulting .so files inside the jniLibs folder app/src/main/jniLibs/<target_arch>/, target_arch is e.g. x86 or armeabi–you should have lib_xi-core_.so and lib_xi-syntect-plugin_.so (syntax highlighting library).
  3. Build the project normally with Android Studio