Compare commits

...

5 Commits

Author SHA1 Message Date
Jules Aguillon
aa12466767 Release 1.11.1 (15) 2022-01-20 21:34:35 +01:00
Jules Aguillon
100e0b270d Fix crash when switching app 2022-01-20 21:22:09 +01:00
Jules Aguillon
38adf7d7b9 Makefile: Sign the debug apk with scheme v2 2022-01-20 21:21:27 +01:00
Jules Aguillon
9485770372 Update doc for Android 11 2022-01-20 21:21:07 +01:00
Raphael
c489b5aba7 Fix broken link (because of case sensitivity) 2022-01-17 18:59:02 +01:00
9 changed files with 38 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="juloo.keyboard2" android:versionCode="14" android:versionName="1.11.0" android:hardwareAccelerated="false"> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="juloo.keyboard2" android:versionCode="15" android:versionName="1.11.1" android:hardwareAccelerated="false">
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="30"/> <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="30"/>
<application android:label="@string/app_name" android:allowBackup="true" android:icon="@drawable/ic_launcher" android:hardwareAccelerated="false"> <application android:label="@string/app_name" android:allowBackup="true" android:icon="@drawable/ic_launcher" android:hardwareAccelerated="false">
<service android:name="juloo.keyboard2.Keyboard2" android:label="@string/app_name" android:permission="android.permission.BIND_INPUT_METHOD"> <service android:name="juloo.keyboard2.Keyboard2" android:label="@string/app_name" android:permission="android.permission.BIND_INPUT_METHOD">

View File

@@ -25,14 +25,11 @@ If the build succeed, the debug apk is located in
## Debugging on your phone ## Debugging on your phone
You need to have *USB debugging* enabled on your phone, see [Android's doc](https://developer.android.com/studio/debug/dev-options#enable). First [Enable adb debugging on your device](https://developer.android.com/studio/command-line/adb#Enabling).
Then connect your phone to your computer using an USB cable or wireless
It is also possible to enable *ADB over network* in the settings and connect debugging.
with `adb connect <ip of the phone>`. Make sure to be connected to a local
network that you trust.
Install the application with:
And finally, install the application with:
```sh ```sh
make installd make installd
``` ```
@@ -41,7 +38,7 @@ The debug version of the application won't be removed, both versions will stay
installed at the same time. installed at the same time.
The application must be enabled in the settings: The application must be enabled in the settings:
System Settings > System > Languages & Input > Virtual keyboard > Manage keyboards. System > Languages & input > On-screen keyboard > Manage on-screen keyboards.
## Debugging the application: INSTALL_FAILED_UPDATE_INCOMPATIBLE ## Debugging the application: INSTALL_FAILED_UPDATE_INCOMPATIBLE

View File

@@ -55,9 +55,8 @@ $(DEBUG_KEYSTORE):
-keyalg rsa -storepass $(DEBUG_PASSWD) -validity 10000 -keyalg rsa -storepass $(DEBUG_PASSWD) -validity 10000
_build/%.debug.apk: _build/%.debug.unsigned-apk $(DEBUG_KEYSTORE) _build/%.debug.apk: _build/%.debug.unsigned-apk $(DEBUG_KEYSTORE)
jarsigner -keystore $(DEBUG_KEYSTORE) \ apksigner sign --in "$<" --out "$@" \
-storepass $(DEBUG_PASSWD) -keypass $(DEBUG_PASSWD) \ --ks $(DEBUG_KEYSTORE) --ks-key-alias debug --ks-pass "pass:$(DEBUG_PASSWD)"
-signedjar "$@" "$<" debug
# Debug apk # Debug apk

View File

@@ -21,7 +21,7 @@ Highlight of some of the features:
- Multiple layouts: QWERTY, QWERTZ, AZERTY. Themes: White, Dark, OLED Black. And many other options. - Multiple layouts: QWERTY, QWERTZ, AZERTY. Themes: White, Dark, OLED Black. And many other options.
Like any other virtual keyboards, it must be enabled in the system settings. Open the System Settings and go to: Like any other virtual keyboards, it must be enabled in the system settings. Open the System Settings and go to:
System > Languages & Input > Virtual keyboard > Manage keyboards. System > Languages & input > On-screen keyboard > Manage on-screen keyboards.
[<img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png" [<img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png"
alt="Get it on F-Droid" alt="Get it on F-Droid"
@@ -30,4 +30,4 @@ System > Languages & Input > Virtual keyboard > Manage keyboards.
## Contributing ## Contributing
For instructions on building the application, see For instructions on building the application, see
[Contributing](Contributing.md). [Contributing](CONTRIBUTING.md).

View File

@@ -0,0 +1,8 @@
New languages: German
New keyboard layouts: QWERTZ
Added themes: White, Dark and OLED Black
Added the Action key near the Enter key, required for some app.
Improved some options and fixed a few bugs.

View File

@@ -15,4 +15,4 @@ Highlight of some of the features:
- Multiple layouts: QWERTY, QWERTZ, AZERTY. Themes: White, Dark, OLED Black. And many other options. - Multiple layouts: QWERTY, QWERTZ, AZERTY. Themes: White, Dark, OLED Black. And many other options.
Like any other virtual keyboards, it must be enabled in the system settings. Open the System Settings and go to: Like any other virtual keyboards, it must be enabled in the system settings. Open the System Settings and go to:
System > Languages & Input > Virtual keyboard > Manage keyboards. System > Languages & input > On-screen keyboard > Manage on-screen keyboards.

View File

@@ -0,0 +1,8 @@
Nouvelle langue : Allemand
Nouvelle configuration du clavier : QWERTZ
Thèmes : Clair, Sombre et Noir OLED
Ajout de la touche Action, à côté de la touche Entrer, nécessaire pour certaines applications.
Amélioration des options et résolution de bugs.

View File

@@ -15,4 +15,4 @@ Quelques fonctionnalités:
- Plusieurs configurations: QWERTY, QWERTZ, AZERTY. Thèmes: Clair, Sombre, Noir OLED. Et beaucoup d'autres options. - Plusieurs configurations: QWERTY, QWERTZ, AZERTY. Thèmes: Clair, Sombre, Noir OLED. Et beaucoup d'autres options.
Comme tous les claviers virtuels, il doit être activé dans les paramètres systèmes. Ouvrez les paramètres et allez dans: Comme tous les claviers virtuels, il doit être activé dans les paramètres systèmes. Ouvrez les paramètres et allez dans:
Système > Langue & Saisie > Clavier virtuel > Gérer. Système > Langue & saisie > Clavier à l'écran > Gérer les claviers à l'écran.

View File

@@ -20,6 +20,7 @@ import android.view.ContextThemeWrapper;
import android.view.KeyEvent; import android.view.KeyEvent;
import android.view.View; import android.view.View;
import android.view.ViewGroup; import android.view.ViewGroup;
import android.view.ViewParent;
import android.util.Log; import android.util.Log;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
@@ -188,6 +189,15 @@ public class Keyboard2 extends InputMethodService
setInputView(_keyboardView); setInputView(_keyboardView);
} }
@Override
public void setInputView(View v)
{
ViewParent parent = v.getParent();
if (parent != null && parent instanceof ViewGroup)
((ViewGroup)parent).removeView(v);
super.setInputView(v);
}
@Override @Override
public void onCurrentInputMethodSubtypeChanged(InputMethodSubtype subtype) public void onCurrentInputMethodSubtypeChanged(InputMethodSubtype subtype)
{ {