# xi-android **Repository Path**: huoxd/xi-android ## Basic Information - **Project Name**: xi-android - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-17 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 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][Xi] 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 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 [Xi]: https://github.com/google/xi-editor [for cross-compiling on Android]: https://blog.rust-lang.org/2016/05/13/rustup.html#example-running-rust-on-android [jniLibs folder]: https://stackoverflow.com/questions/37116921/android-studio-include-and-consume-so-library [syntect]: https://github.com/trishume/syntect