Giter Club home page Giter Club logo

latinime-android-studio's Introduction

Gradle build for LatinIME (Android Keyboard)

Develop LatinIME in Android Studio without a need to download and build whole AOSP.

Currently building LatinIME requires downloading and building whole Android sources. This requires tens of gigabytes of disk space and takes couple hours to complete. The aim of this project is to allow development of LatingIME using Android Studio, Android SDK and NDK.

Current status

This is still a work in progress. Currently building the Java part of the app works fine but you still need to build native libraries separately or extract them from existing APK. Building host tools (used to generate dictionaries) still requires some more work.

How to build LatinIME APK

  1. Checkout this build configuration:

     git clone https://github.com/iwo/LatinIME-Android-Studio.git .
    
  2. Checkout LatinIME sources to LatinIME subdirectory:

     git clone https://github.com/CyanogenMod/android_packages_inputmethods_LatinIME.git LatinIME
    
  3. Checkout frameworks/opt/inputmethodcommon into inputmethodcommon:

     git clone https://github.com/CyanogenMod/android_frameworks_opt_inputmethodcommon.git inputmethodcommon
    
  4. Import project into Android Studio

  5. Copy prebuild libjni_latinime.so to app/src/main/jniLibs/armeabi/libjni_latinime.so

  6. Remove LatinIME/java/res/values/strings-emoji-descriptions.xml (or fix encoding of the comments)

Enjoy your new Android Keyboard!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.