Skip to content

Commit

Permalink
V6
Browse files Browse the repository at this point in the history
  • Loading branch information
AshiVered committed Mar 9, 2023
1 parent ad9c610 commit 119cae4
Show file tree
Hide file tree
Showing 10 changed files with 87 additions and 17 deletions.
6 changes: 5 additions & 1 deletion AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="org.nyanya.android.traditionalt9"
android:versionCode="4"
android:versionCode="6"
android:versionName="git"
tools:ignore="ExtraText">

Expand All @@ -25,6 +25,10 @@
android:icon="@drawable/ic_launcher"
android:label="@string/ime_name"
android:theme="@style/Theme.AppCompat.Light">
<activity
android:name=".KeyboardActivity"
android:exported="true"
/>
<activity
android:name=".help"
android:exported="true"
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ See Wiki for more information&setup guide: [QinBoard T9 keypad IME for Android](
1. fix [this issue](https://github.com/sspanak/tt9/issues/182) in QinBoard T9.
2. ~~add symbol & smiley by long click on star~~ DONE! V3 and higher.
3. ~~Add help screen~~ DONE! V5.2-beta and higher
4. Add setup option (to make the keyboard easier to operate and set it to a default input method) *Some of the changes have already been made in V4*
4. ~~Add setup option (to make the keyboard easier to operate and set it to a default input method)~~ DONE! V6 and higher.
5. ~~Setting classic typing (without text prediction) by default, so that it is possible to use the keyboard even before loading the dictionary.~~ DONE! V5.1-beta and higher
6. Add more languages.
7. A more modern UI. - *Some of the changes have already been made in V5.1-beta*
8. ~~navigate through the words using the dial key (KEYCODE_CALL).~~ DONE! V4 and higher.
9. Add option to new line.
10. fix load user option in Android 12 and higher.
# Download
QinBoard-T9 (this fork):
from the [releases page](https://github.com/AshiVered/QinBoard-T9/releases).
Expand Down
9 changes: 6 additions & 3 deletions assets/help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
|setup|
-------

1. Enable QinBoard T9 as an input method (via device settings)
1. Enable QinBoard T9 as an input method
2. Set QinBoard T9 as default input method
3. choose languages, and select default mode (dictionary, text ,number).
4. if you select “dictionary”, you need to choose “Load dictionary” to use.
Expand All @@ -28,9 +28,12 @@ Long press (not working in Qin1S+) : new line.
|app info|
-----------

QinBoard T9 V5.2-beta
QinBoard T9 V6
developed by A.I.V

WHAT'S NEW?
* add setup screen.
* add help screen.
* Some changes to the user interface, with the hope of creating a more modern user interface. (needs quite a few more changes).
* Some changes to the user interface, with the hope of creating a more modern user interface. (needs quite a few more changes).
* fix bugs in hebrew wordlist.
Setting classic typing (without text prediction) by default, so that it is possible to use the keyboard even before loading the dictionary.
9 changes: 6 additions & 3 deletions assets/help_iw.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
| הגדרה |
1. הפעל את QinBoard T9 כשיטת קלט (דרך הגדרות המכשיר)
1. הפעל את QinBoard T9 כשיטת קלט
2. הגדר את QinBoard T9 כשיטת קלט ברירת מחדל
3. בחר שפות ומצב הקלדה (חיזוי, טקסט, מספרים)
4. אם בחרת "חיזוי", עליך לבחור "טען מילון" כדי להשתמש במקלדת
Expand All @@ -21,11 +21,14 @@

| מידע על האפליקציה |

QinBoard T9 V5.2-beta.
QinBoard T9 V6.

developed by A.I.V.

מה חדש?

* הוספת מסך הגדרה.
* הוספת מסך עזרה.
* שינויים בממשק המשתמש - בתקווה למראה מודרני יותר (יש עוד הרבה עבודה).
* שינויים בממשק המשתמש - בתקווה למראה מודרני יותר (יש עוד עבודה).
* תיקון באגים ברשימת המילים של עברית.
* הגדרת הקלדה קלאסית (ללא חיזוי) כברירת מחדל.
18 changes: 18 additions & 0 deletions res/layout/activity_keyboard.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">

<Button
android:id="@+id/keyboard_settings_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/keyboard_settings" />

<Button
android:id="@+id/input_method_settings_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/IME_default" />

</LinearLayout>
4 changes: 3 additions & 1 deletion res/values-iw/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,13 @@
<string name="dev_info">QinBoard T9 by A.I.V V5.0</string>
<string name="prev">הקודם</string>
<string name="next">הבא</string>
<string name="keyboard_Manger">הגדר כמקלדת ברירת מחדל</string>
<string name="keyboard_Manger">הגדרה</string>
<string name="about">אודות</string>
<string name="pref_loaduserdictdesc">אחסון מקומי/QinBoardT9/user.lang.dict (lang: en/ru/de/fr/it/uk/he)</string>
<string name="help">help_iw.txt</string>
<string name="manual">מדריך למשתמש</string>
<string name="keyboard_settings">הפעל את Qinboard T9 כשיטת קלט</string>
<string name="IME_default">הגדר כמקלדת ברירת מחדל</string>


</resources>
4 changes: 3 additions & 1 deletion res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,10 @@
<string name="dev_info" translatable="false">QinBoard T9 by A.I.V V5.0</string>
<string name="prev">previous</string>
<string name="next">next</string>
<string name="keyboard_Manger">Set as default keyboard</string>
<string name="keyboard_Manger">Setup</string>
<string name="help">help.txt</string>
<string name="manual">Manual</string>
<string name="keyboard_settings">Enable Qinboard T9 as input method</string>
<string name="IME_default">Set as default keyboard</string>

</resources>
6 changes: 0 additions & 6 deletions res/xml/setup.xml

This file was deleted.

42 changes: 42 additions & 0 deletions src/org/nyanya/android/traditionalt9/KeyboardActivity.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
package org.nyanya.android.traditionalt9;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.provider.Settings;
import android.view.View;
import android.widget.Button;
import android.view.inputmethod.InputMethodManager;

public class KeyboardActivity extends Activity {

private Button keyboardSettingsButton;
private Button inputMethodSettingsButton;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_keyboard);

// Find the buttons in the layout by their IDs
keyboardSettingsButton = findViewById(R.id.keyboard_settings_button);
inputMethodSettingsButton = findViewById(R.id.input_method_settings_button);

// Set click listeners for the buttons
keyboardSettingsButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(Settings.ACTION_INPUT_METHOD_SETTINGS);
startActivity(intent);
}
});

inputMethodSettingsButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
InputMethodManager imeManager = (InputMethodManager) getApplicationContext().getSystemService(INPUT_METHOD_SERVICE); imeManager.showInputMethodPicker();

}
});
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,8 @@ private void openGithub() {
startActivity(i);
}
private void MangeKey() {
InputMethodManager imeManager = (InputMethodManager) getApplicationContext().getSystemService(INPUT_METHOD_SERVICE); imeManager.showInputMethodPicker();
Intent intent = new Intent(this, KeyboardActivity.class);
startActivity(intent);
}

// LoadDictTask(int msgid, boolean intern, boolean restorebackup, CheckBoxPreference setting)
Expand Down

0 comments on commit 119cae4

Please sign in to comment.