mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-04-19 13:49:13 +00:00
update readme and description
This commit is contained in:
parent
857fe3c59f
commit
5ce9e09f7d
3 changed files with 8 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
||||||
# HeliBoard
|
# HeliBoard
|
||||||
HeliBoard is a privacy-conscious and customizable open-source keyboard, based on AOSP / OpenBoard.
|
HeliBoard is a privacy-conscious and customizable open-source keyboard, based on AOSP / OpenBoard.
|
||||||
|
Does not use internet permission, and thus is 100% offline.
|
||||||
|
|
||||||
## Table of Contents
|
## Table of Contents
|
||||||
|
|
||||||
|
@ -40,6 +41,10 @@ HeliBoard is a privacy-conscious and customizable open-source keyboard, based on
|
||||||
* __No suggestions for some language__: Check [dictionaries repo](https://codeberg.org/Helium314/aosp-dictionaries) whether a dictionary is available. If there is one, download it and add it in the language settings for this language.
|
* __No suggestions for some language__: Check [dictionaries repo](https://codeberg.org/Helium314/aosp-dictionaries) whether a dictionary is available. If there is one, download it and add it in the language settings for this language.
|
||||||
* __No suggestions in some app / text field__: This app respects the [no suggestions flag](https://developer.android.com/reference/android/text/InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS) set by some input fields, i.e. the developer does not want you to see suggestions here. Best do in issue report for that app if you think this behavior is wrong. Alternatively you can enable the _always show suggestions_ setting that overrides the _no suggestions_ flag.
|
* __No suggestions in some app / text field__: This app respects the [no suggestions flag](https://developer.android.com/reference/android/text/InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS) set by some input fields, i.e. the developer does not want you to see suggestions here. Best do in issue report for that app if you think this behavior is wrong. Alternatively you can enable the _always show suggestions_ setting that overrides the _no suggestions_ flag.
|
||||||
* __How to enable glide typing__: There is no glide typing built into this app, but you can load compatible libraries: Go to advanced settings -> _load gesture typing library_ and point to a file. You can extract the file from GApps packages ("_swypelibs_"), or download one [here](https://github.com/erkserkserks/openboard/tree/master/app/src/main/jniLibs). Make sure to use the correct version (app will tell you in the dialog to load the library).
|
* __How to enable glide typing__: There is no glide typing built into this app, but you can load compatible libraries: Go to advanced settings -> _load gesture typing library_ and point to a file. You can extract the file from GApps packages ("_swypelibs_"), or download one [here](https://github.com/erkserkserks/openboard/tree/master/app/src/main/jniLibs). Make sure to use the correct version (app will tell you in the dialog to load the library).
|
||||||
|
* __What is the _nouserlib_ version?__: The normal version (_release_) allows the user to provide a library for glide typing. Running code that isn't supplied with the app is _dynamic code loading_, which is a security risk. Android Studio warns about this:
|
||||||
|
> Dynamically loading code from locations other than the application's library directory or the Android platform's built-in library directories is dangerous, as there is an increased risk that the code could have been tampered with. Applications should use loadLibrary when possible, which provides increased assurance that libraries are loaded from one of these safer locations. Application developers should use the features of their development environment to place application native libraries into the lib directory of their compiled APKs.
|
||||||
|
|
||||||
|
The app checks the SHA256 checksum of the library and warns the user if it doesn't match with known library versions. A mismatch indicates the library was modified, but may also occur if the user intentionally provides a different library than expected (e.g. a self-built variant).
|
||||||
* (_to be expanded_...) <!-- auto-correct? incognito always on? can't load library? -->
|
* (_to be expanded_...) <!-- auto-correct? incognito always on? can't load library? -->
|
||||||
|
|
||||||
## Hidden Functionality
|
## Hidden Functionality
|
||||||
|
|
|
@ -1253,13 +1253,12 @@ public final class InputLogic {
|
||||||
// TODO: Add a new StatsUtils method onBackspaceWhenNoText()
|
// TODO: Add a new StatsUtils method onBackspaceWhenNoText()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
final int lengthToDelete =
|
|
||||||
Character.isSupplementaryCodePoint(codePointBeforeCursor) ? 2 : 1;
|
|
||||||
if (StringUtils.mightBeEmoji(codePointBeforeCursor)) {
|
if (StringUtils.mightBeEmoji(codePointBeforeCursor)) {
|
||||||
// emoji length varies, so we'd need to find out length to delete correctly
|
// emoji length varies, so we'd need to find out length to delete correctly
|
||||||
// the solution is not optimal, but a reasonable workaround for issues when trying to delete emojis
|
// the solution is not optimal, but a reasonable workaround for issues when trying to delete emojis
|
||||||
sendDownUpKeyEvent(KeyEvent.KEYCODE_DEL);
|
sendDownUpKeyEvent(KeyEvent.KEYCODE_DEL);
|
||||||
} else {
|
} else {
|
||||||
|
final int lengthToDelete = Character.isSupplementaryCodePoint(codePointBeforeCursor) ? 2 : 1;
|
||||||
mConnection.deleteTextBeforeCursor(lengthToDelete);
|
mConnection.deleteTextBeforeCursor(lengthToDelete);
|
||||||
int totalDeletedLength = lengthToDelete;
|
int totalDeletedLength = lengthToDelete;
|
||||||
if (mDeleteCount > Constants.DELETE_ACCELERATE_AT) {
|
if (mDeleteCount > Constants.DELETE_ACCELERATE_AT) {
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
HeliBoard is a privacy-conscious open-source keyboard, based on AOSP / OpenBoard.
|
HeliBoard is a privacy-conscious open-source keyboard, based on AOSP / OpenBoard.
|
||||||
|
Does not use internet permission, and thus is 100% offline.
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
|
|
||||||
- Add your own dictionaries for suggestions and spell check
|
- Add your own dictionaries for suggestions and spell check
|
||||||
- Customizable themes and background
|
- Customizable themes and background
|
||||||
- Customizable layouts
|
- Customizable layouts
|
||||||
|
|
Loading…
Add table
Reference in a new issue