HeliBoard/README.md

75 lines
2.8 KiB
Markdown
Raw Normal View History

2020-01-01 21:16:25 +01:00
# OpenBoard
2022-01-28 18:31:39 +01:00
[![Build](https://github.com/openboard-team/openboard/actions/workflows/android-build.yml/badge.svg)](https://github.com/openboard-team/openboard/actions/workflows/android-build.yml)
![GitHub release (latest by date)](https://img.shields.io/github/v/release/openboard-team/openboard)
![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/openboard-team/openboard/latest)
<a href='https://f-droid.org/packages/org.dslul.openboard.inputmethod.latin'><img src='https://fdroid.gitlab.io/artwork/badge/get-it-on.png' alt='Get it on F-Droid' height='80'></a>
2020-01-01 21:16:25 +01:00
<a href='https://play.google.com/store/apps/details?id=org.dslul.openboard.inputmethod.latin&pcampaignid=pcampaignidMKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'><img alt='Get it on Google Play' src='https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png' height='80px'/></a>
![](images/feature.png)
100% FOSS keyboard, based on AOSP.
2021-05-03 14:42:13 +02:00
## Community [matrix] channel
![](images/matrix_qr.png)
2021-05-15 09:02:18 +02:00
Join [here](https://matrix.to/#/#openboard:matrix.org?via=matrix.org)
2021-05-03 14:43:13 +02:00
2020-09-11 17:05:41 +02:00
## Common issues
2022-01-23 23:43:09 +01:00
- Cannot open settings in MIUI: See [issue #46](https://github.com/dslul/openboard/issues/46).
2020-09-09 17:58:43 +02:00
## Contribute
2020-01-22 21:35:47 +01:00
### How to create a dictionary
2022-01-23 23:43:09 +01:00
You can use [this tool](https://github.com/remi0s/aosp-dictionary-tools) to create a dictionary. You need a wordlist, as described [here](dictionaries/sample.combined). The output .dict file must be put in [res/raw](app/src/main/res/raw).
### How to edit keyboard texts
Make your modifications in [tools/make-keyboard-text/src/main/resources](tools/make-keyboard-text/src/main/resources)/values-YOUR LOCALE.
Generate the new version of [KeyboardTextsTable.java](app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardTextsTable.java):
```sh
./gradlew tools:make-keyboard-text:makeText
```
### APK Development
#### Linux
Install java:
```sh
2021-10-16 17:27:18 +02:00
sudo pacman -S jdk11-openjdk jre11-openjdk jre11-openjdk-headless
```
Install Android SDK:
```sh
sudo pacman -S snapd
sudo snap install androidsdk
```
Configure your SDK location in your `~/.bash_profile` or `~/.bashrc`:
```bash
export ANDROID_SDK_ROOT=~/snap/androidsdk/current/AndroidSDK/
```
Compile the project. This will install all dependencies, make sure to accept
licenses when prompted.
```sh
./gradlew assembleDebug
```
Connect your phone and install the debug APK
```sh
adb install ./app/build/outputs/apk/debug/app-debug.apk
```
2020-09-11 17:05:41 +02:00
## Credits
2021-05-03 13:51:32 +02:00
- icon by [Marco TLS](https://www.marcotls.eu)
2020-09-11 17:05:41 +02:00
- [AOSP Keyboard](https://android.googlesource.com/platform/packages/inputmethods/LatinIME/)
- [LineageOS](https://review.lineageos.org/admin/repos/LineageOS/android_packages_inputmethods_LatinIME)
- [Simple Keyboard](https://github.com/rkkr/simple-keyboard)
- [Indic Keyboard](https://gitlab.com/indicproject/indic-keyboard)