Skip to content
nlpguyz edited this page Mar 7, 2018 · 7 revisions

Welcome to the hackerskeyboard wiki!

Features to come

  1. RIME (中州韵) Input Method Support
  2. Custom schemata (拼音、五笔、方言等)
  3. Custom theme/skins

How to contribute RIME schemes?

  1. Upload RIME schemes to https://github.com/nlpguyz/rime-depot/tree/master/files. You may need to fork first, and upload to your own fork.
  2. Create the IMDF file as shown in https://github.com/nlpguyz/rime-depot/blob/master/files/README.txt
  3. Make a pull request to the above rime-depot repository. We will add it to the online install menu after reviewing it. Thanks!

Developers

RIME API

  1. RIME Interface https://github.com/rime/librime/blob/9c4fa8ab63438f8d184203e4a5079e5d3c744795/src/rime_levers_api.h
  2. Check out Rime.java and JNI files for actual API for Android (careful of bugs)

How to debug RIME engine

  1. telnet <Phone IP> 1868
  2. Type "js" to enter Javascript mode
  3. Access RIME engine as $sys.mRime

See RIME API Examples

FAQ

  • Android Studio is stuck with indexing or building symbols The JVM options for Android Studio need to be updated. Go to the menu Help -> Edit Custom VM Options... and enter the following
    -Xms256m
    -Xmx4192m
    -XX:ReservedCodeCacheSize=2048m
    -XX:+UseCompressedOops
    -XX:MaxPermSize=4096m
Clone this wiki locally