diff --git a/!RAW/logo-back-512x512.png b/!RAW/logo-back-512x512.png new file mode 100644 index 00000000..90b4af53 Binary files /dev/null and b/!RAW/logo-back-512x512.png differ diff --git a/!RAW/logo-back-rounded-512x512.png b/!RAW/logo-back-rounded-512x512.png new file mode 100644 index 00000000..bdb43363 Binary files /dev/null and b/!RAW/logo-back-rounded-512x512.png differ diff --git a/!RAW/logo-front-512x512.png b/!RAW/logo-front-512x512.png new file mode 100644 index 00000000..b820ff93 Binary files /dev/null and b/!RAW/logo-front-512x512.png differ diff --git a/!RAW/logo.xcf b/!RAW/logo.xcf new file mode 100644 index 00000000..757f2944 Binary files /dev/null and b/!RAW/logo.xcf differ diff --git a/!RAW/metallic-textured-background-half.png b/!RAW/metallic-textured-background-half.png new file mode 100644 index 00000000..6d273aae Binary files /dev/null and b/!RAW/metallic-textured-background-half.png differ diff --git a/!RAW/metallic-textured-background.jpg b/!RAW/metallic-textured-background.jpg new file mode 100644 index 00000000..9932b87a Binary files /dev/null and b/!RAW/metallic-textured-background.jpg differ diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 4cd61dd3..1a8a7c9e 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1,6 +1,6 @@ @@ -22,7 +22,7 @@ android:label="@string/ime_name" android:theme="@style/AppTheme" > @@ -36,7 +36,7 @@ @@ -44,7 +44,7 @@ diff --git a/LICENCE.md b/LICENCE.md new file mode 100644 index 00000000..f0db2c8d --- /dev/null +++ b/LICENCE.md @@ -0,0 +1,13 @@ +Copyright 2022 Dimo Karaivanov aka sspanak + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. \ No newline at end of file diff --git a/LICENCE.txt b/LICENCE.txt deleted file mode 100644 index 12fc2ebe..00000000 --- a/LICENCE.txt +++ /dev/null @@ -1,4 +0,0 @@ -All code provided is placed in the Public Domain unless stated in file otherwise. -No liability is assumed or granted for any use of provided code. - -Do what you want. diff --git a/README.md b/README.md index 8cc0403f..e71d6ef0 100644 --- a/README.md +++ b/README.md @@ -65,5 +65,7 @@ Here is detailed information and licenses about the word lists used: ## License - The source code, the logo image and the icons are licensed under the conditions described in [LICENSE.txt](LICENSE.txt). +- The word lists / dictionaries are licensed under the licenses provided in the [respective readme files](#word-lists), where applicable. +- [Silver foil photo created by rawpixel.com - www.freepik.com](https://www.freepik.com/photos/silver-foil) - "Roboto" font is under [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). -- The word lists / dictionaries are licensed under the licenses provided in the [respective readme files](#word-lists), where applicable. \ No newline at end of file +- "Negotiate" and "Vibrocentric" fonts are under [The Fontspring Desktop/Ebook Font End User License](docs/desktop-ebook-EULA-1.8.txt). \ No newline at end of file diff --git a/docs/deWordlistReadme.txt b/docs/deWordlistReadme.txt index 524adbc7..2a861e12 100644 --- a/docs/deWordlistReadme.txt +++ b/docs/deWordlistReadme.txt @@ -1,7 +1,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -& source: http://www.winedt.org/Dict/ +& source: http://www.winedt.org/dict/ % file: de_neu.dic (de) -% version: 5 Jan 2005 / with modifications +% version: 5 Jan 2005 % New German spelling wordlist for WinEdt (or compatible) spellcheckers % wordcount: 532273 words % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/docs/desktop-ebook-EULA-1.8.txt b/docs/desktop-ebook-EULA-1.8.txt new file mode 100644 index 00000000..8ff55f2b --- /dev/null +++ b/docs/desktop-ebook-EULA-1.8.txt @@ -0,0 +1,77 @@ +The Fontspring Desktop/Ebook Font End User License Agreement +Version 1.8.0 - February 11, 2022 + +By downloading and/or installing font software (“Font”) offered by Fontspring or its distributors, you (“Licensee”) agree to be bound by the following terms and conditions of this End User Licensing Agreement (“EULA”): + +1. Rights Granted +Fontspring grants Licensee a perpetual, worldwide, non-exclusive and non-transferrable license to: + +a. Use the Font to create and distribute graphics, logos, and artwork for display on any surface including computer screens, television screens, paper, physical products, or any other surface. The created graphics may be a fixed size (e.g. JPG, PNG, etc.) or a static vector (e.g. SVG, EPS, etc. made with a “create outlines” tool). + +b. Embed or link the Font in accordance with the rules described in Section 2d, “Document Embedding,” of this EULA. + +2. Requirements and Restrictions + +a. Products +Licensee may not use the Font to create alphabet or letterform products for resale where the product consists of individual letterforms, including rubber stamps, die-cut products, stencil products, or adhesive sticker alphabet products where the likeness of the Font can be reproduced and the end-user of said products can create their own typesetting. An extended license may be available for an additional fee. + +Licensee may create typographic products using the Font if the product consists of commonly recognized words or phrases, for example, a rubber stamp that has the words “Great!” or a sticker that says “Thank You.” + +b. Dingbats and Illustrations +Licensee may NOT use illustrations or images in the Font OTHER THAN letterforms, numbers, punctuation marks, diacritics, etc., in a manner where the illustration or image becomes the primary aspect of a product for resale. For example, a dingbat image in the font can not be the sole design element on a coffee cup, t-shirt, greeting card, etc., intended for resale. An extended license may be available for an additional fee. + +c. Users and Deployment +The Font may be simultaneously used by no more than the number of users specified in the Invoice. A “user” is a single person or single machine, at the discretion of the Licensee. All users must belong to the same company or household purchasing the font except for temporary use by third parties as described in Section 3 “Provision to Third Parties” of this EULA. The Font may be installed on a server for the purpose of deploying to licensed users with all user restrictions listed above still applying. + +d. Document Embedding (including PDF, epub, mobi, Kf8, Microsoft Word® & Microsoft Powerpoint®) +Documents embedding the Font and sent to third parties, must be read-only by those recipients. These digital documents or ebooks can be provided for free or sold for a profit. + +Documents embedding the Font and created for in-house use or sent to third parties working on behalf of the Licensee as described in Section 3 “Provision to Third Parties” may be editable. + +3. Provision to Third Parties +The Licensee may temporarily provide the Font to a graphic designer, printer, agent, or independent contractor who is working on behalf of the Licensee. The Agents temporarily using the font are treated as licensed users and count toward the number of users specified on the Invoice. In the case of a single user license, the Licensee may temporarily provide the Font to a single third party without violating this EULA. + +The third party designer, developer, agent, or independent contractor must: + a. Agree in writing to use the Font exclusively for Licensee’s work, according to the terms of this EULA. + b. Retain no copies of the Font upon completion of the work. + +4. Term +This EULA grants a perpetual license for the rights set forth in Section 1, “Rights Granted,” unless and until the EULA terminates under Section 8, “Termination.” Fontspring will not charge additional fees post purchase, annually or otherwise. + +5. Other Usage +Licenses for @font-face embedding, computer applications and games, installable interactive books, software, mobile applications and games, product creation websites, website template distribution, website templates, and other uses not allowed by this EULA may be available for an additional fee. Contact Fontspring at support@fontspring.com for more information. + +6. Modifications +Licensee may not modify the Font files, or create derivative fonts based on the Font without prior written consent from Fontspring or the owning Foundry EXCEPT THAT Licensee may generate files necessary for embedding or linking in accordance with this EULA. + +7. Copyright +The Font is protected by copyright law. The Foundry is the sole, exclusive owner of all intellectual property rights, including rights under copyright and trademark law. Licensee agrees not to use the Font in any manner that infringes the intellectual property rights of the Foundry or violates the terms of this EULA. Licensee will be held legally responsible, and indemnifies Fontspring, for any infringements on the Foundry’s rights caused by failure to abide by the terms of this EULA. + +8. Termination +This EULA is effective until terminated. If Licensee fails to comply with any term of this EULA, Fontspring may terminate the EULA with 30 days notice. This EULA will terminate automatically 30 days after the issuance of such notice. + +9. Refunds and Disclaimer +Fontspring will, at the Licensee’s request, provide a refund for the Font if: +a. The Font has not been used in any published or released work. +b. No more than 30 days have passed since the date of purchase, specified on the Invoice. +c. The Font has been uninstalled and deleted from all Licensee’s computers. + +The Product is provided “as is.” Fontspring makes no warranty of any kind, either expressed or implied, including, but not limited to the implied warranties of merchantability and fitness for a particular purpose. + +Fontspring shall not be liable for any direct, indirect, consequential, or incidental damages (including damages from loss of business profits, business interruption, loss of business information, and the like) arising out of the use of or inability to use the product even if Fontspring or the Foundry has been advised of the possibility of such damages. + +Because some states do not allow the exclusion or limitation of liability for consequential or incidental damages, the above limitation may not apply to Licensee. + +10. Governing Law +This EULA is governed by the laws of the United States of America and the State of Delaware. + +11. Entire Agreement +This EULA, in conjunction with the Invoice that accompanies each Font licensed from Fontspring or its distributors, constitutes the entire agreement between Fontspring and Licensee. + +12. Modification +The Parties may modify or amend this EULA in writing. + +13. Waiver. The waiver of one breach or default hereunder shall not constitute the waiver of any subsequent breach or default. + +14. Company Ownership +Creative Market Labs, Inc (“Creative Market”), is the owner of the Fontspring website and service (“Fontspring”). \ No newline at end of file diff --git a/docs/user-manual.md b/docs/user-manual.md index 5b5fe58b..7865fb2d 100644 --- a/docs/user-manual.md +++ b/docs/user-manual.md @@ -1,6 +1,8 @@ # Traditional T9 TT9 is an IME (Input Method Editor) for Android devices with hardware keypad. It supports multiple languages and predictive text typing. _NOTE: TT9 is not usable on touchscreen-only devices._ +Source code and documentation are available in Github: + ## Initial Setup TODO: Initial config, loading a dictionary... @@ -40,4 +42,11 @@ Insert symbol or Add word depending on state and context. Add word only availabl TODO... ### Key Remapping -See [the original manual](https://github.com/Clam-/TraditionalT9/wiki/Key-remapping). \ No newline at end of file +See [the original manual](https://github.com/Clam-/TraditionalT9/wiki/Key-remapping). + +## License +- The source code, the logo image and the icons are licensed under [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). +- The word lists / dictionaries are licensed under the licenses provided in the respective readme files found in the source code, where applicable. +- [Silver foil photo created by rawpixel.com - www.freepik.com](https://www.freepik.com/photos/silver-foil) +- "Roboto" font is under [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). +- "Negotiate" and "Vibrocentric" fonts are under [The Fontspring Desktop/Ebook Font End User License](docs/desktop-ebook-EULA-1.8.txt) \ No newline at end of file diff --git a/res/drawable-hdpi/ic_launcher.png b/res/drawable-hdpi/ic_launcher.png index dd3a91f6..532037be 100644 Binary files a/res/drawable-hdpi/ic_launcher.png and b/res/drawable-hdpi/ic_launcher.png differ diff --git a/res/drawable-mdpi/ic_launcher.png b/res/drawable-mdpi/ic_launcher.png new file mode 100644 index 00000000..3a876e37 Binary files /dev/null and b/res/drawable-mdpi/ic_launcher.png differ diff --git a/res/drawable-xhdpi/ic_launcher.png b/res/drawable-xhdpi/ic_launcher.png new file mode 100644 index 00000000..4917bb9d Binary files /dev/null and b/res/drawable-xhdpi/ic_launcher.png differ diff --git a/res/drawable-xxhdpi/ic_launcher.png b/res/drawable-xxhdpi/ic_launcher.png new file mode 100644 index 00000000..d733aafa Binary files /dev/null and b/res/drawable-xxhdpi/ic_launcher.png differ diff --git a/res/drawable/ic_launcher.png b/res/drawable/ic_launcher.png deleted file mode 100644 index dd3a91f6..00000000 Binary files a/res/drawable/ic_launcher.png and /dev/null differ diff --git a/res/layout/addwordview.xml b/res/layout/addwordview.xml index 8bc15a18..e7f5ea27 100644 --- a/res/layout/addwordview.xml +++ b/res/layout/addwordview.xml @@ -9,7 +9,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:inputType="text" - android:privateImeOptions="io.github.sspanak.traditionalt9.addword=true" > + android:privateImeOptions="io.github.sspanak.tt9.addword=true" > diff --git a/res/values/strings.xml b/res/values/strings.xml index c36fb0b6..d6623cc8 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1,6 +1,6 @@ - https://github.com/Clam-/TraditionalT9/wiki/Traditional-T9-keypad-IME-for-Android + https://github.com/sspanak/tt9/blob/master/docs/user-manual.md Traditional T9 Traditional T9 Numbers diff --git a/res/xml/method.xml b/res/xml/method.xml index 8fcb183a..964df8ba 100644 --- a/res/xml/method.xml +++ b/res/xml/method.xml @@ -21,5 +21,5 @@ + android:settingsActivity="io.github.sspanak.tt9.TraditionalT9Settings" > diff --git a/src/io/github/sspanak/traditionalt9/AbsSymDialog.java b/src/io/github/sspanak/tt9/AbsSymDialog.java similarity index 99% rename from src/io/github/sspanak/traditionalt9/AbsSymDialog.java rename to src/io/github/sspanak/tt9/AbsSymDialog.java index 9ca4d8f7..219f1210 100644 --- a/src/io/github/sspanak/traditionalt9/AbsSymDialog.java +++ b/src/io/github/sspanak/tt9/AbsSymDialog.java @@ -1,4 +1,4 @@ -package io.github.sspanak.traditionalt9; +package io.github.sspanak.tt9; import android.app.Dialog; import android.content.Context; diff --git a/src/io/github/sspanak/traditionalt9/AddWordAct.java b/src/io/github/sspanak/tt9/AddWordAct.java similarity index 89% rename from src/io/github/sspanak/traditionalt9/AddWordAct.java rename to src/io/github/sspanak/tt9/AddWordAct.java index 6f265422..c86f7ec2 100644 --- a/src/io/github/sspanak/traditionalt9/AddWordAct.java +++ b/src/io/github/sspanak/tt9/AddWordAct.java @@ -1,4 +1,4 @@ -package io.github.sspanak.traditionalt9; +package io.github.sspanak.tt9; import android.app.Activity; import android.app.AlertDialog; @@ -10,7 +10,7 @@ import android.view.Menu; import android.view.View; import android.widget.EditText; -import io.github.sspanak.traditionalt9.T9DB.DBSettings.SETTING; +import io.github.sspanak.tt9.T9DB.DBSettings.SETTING; public class AddWordAct extends Activity { @@ -24,9 +24,9 @@ public class AddWordAct extends Activity { View v = getLayoutInflater().inflate(R.layout.addwordview, null); EditText et = (EditText) v.findViewById(R.id.add_word_text); Intent i = getIntent(); - origword = i.getStringExtra("io.github.sspanak.traditionalt9.word"); + origword = i.getStringExtra("io.github.sspanak.tt9.word"); - lang = i.getIntExtra("io.github.sspanak.traditionalt9.lang", -1); + lang = i.getIntExtra("io.github.sspanak.tt9.lang", -1); if (lang == -1) { Log.e("AddWordAct.onCreate", "lang is invalid. How?"); } diff --git a/src/io/github/sspanak/traditionalt9/CandidateView.java b/src/io/github/sspanak/tt9/CandidateView.java similarity index 99% rename from src/io/github/sspanak/traditionalt9/CandidateView.java rename to src/io/github/sspanak/tt9/CandidateView.java index eb280726..3c7af222 100644 --- a/src/io/github/sspanak/traditionalt9/CandidateView.java +++ b/src/io/github/sspanak/tt9/CandidateView.java @@ -1,4 +1,4 @@ -package io.github.sspanak.traditionalt9; +package io.github.sspanak.tt9; import android.content.Context; import android.content.res.Resources; diff --git a/src/io/github/sspanak/traditionalt9/CharMap.java b/src/io/github/sspanak/tt9/CharMap.java similarity index 99% rename from src/io/github/sspanak/traditionalt9/CharMap.java rename to src/io/github/sspanak/tt9/CharMap.java index 1388e2e5..586bcb5e 100644 --- a/src/io/github/sspanak/traditionalt9/CharMap.java +++ b/src/io/github/sspanak/tt9/CharMap.java @@ -1,8 +1,8 @@ -package io.github.sspanak.traditionalt9; +package io.github.sspanak.tt9; import android.util.Log; -import io.github.sspanak.traditionalt9.LangHelper.LANGUAGE; +import io.github.sspanak.tt9.LangHelper.LANGUAGE; import java.util.AbstractList; import java.util.ArrayList; diff --git a/src/io/github/sspanak/traditionalt9/DBException.java b/src/io/github/sspanak/tt9/DBException.java similarity index 81% rename from src/io/github/sspanak/traditionalt9/DBException.java rename to src/io/github/sspanak/tt9/DBException.java index e7e79947..fb389b94 100644 --- a/src/io/github/sspanak/traditionalt9/DBException.java +++ b/src/io/github/sspanak/tt9/DBException.java @@ -1,4 +1,4 @@ -package io.github.sspanak.traditionalt9; +package io.github.sspanak.tt9; public class DBException extends Exception { private static final long serialVersionUID = 376752656441823823L; diff --git a/src/io/github/sspanak/traditionalt9/DBUpdateService.java b/src/io/github/sspanak/tt9/DBUpdateService.java similarity index 98% rename from src/io/github/sspanak/traditionalt9/DBUpdateService.java rename to src/io/github/sspanak/tt9/DBUpdateService.java index c9c87b13..dffc2f26 100644 --- a/src/io/github/sspanak/traditionalt9/DBUpdateService.java +++ b/src/io/github/sspanak/tt9/DBUpdateService.java @@ -1,4 +1,4 @@ -package io.github.sspanak.traditionalt9; +package io.github.sspanak.tt9; import android.app.IntentService; import android.app.Notification; diff --git a/src/io/github/sspanak/traditionalt9/InterfaceHandler.java b/src/io/github/sspanak/tt9/InterfaceHandler.java similarity index 98% rename from src/io/github/sspanak/traditionalt9/InterfaceHandler.java rename to src/io/github/sspanak/tt9/InterfaceHandler.java index 881b0538..59ea6c39 100644 --- a/src/io/github/sspanak/traditionalt9/InterfaceHandler.java +++ b/src/io/github/sspanak/tt9/InterfaceHandler.java @@ -1,4 +1,4 @@ -package io.github.sspanak.traditionalt9; +package io.github.sspanak.tt9; import android.view.KeyEvent; import android.view.View; diff --git a/src/io/github/sspanak/traditionalt9/KeyMap.java b/src/io/github/sspanak/tt9/KeyMap.java similarity index 97% rename from src/io/github/sspanak/traditionalt9/KeyMap.java rename to src/io/github/sspanak/tt9/KeyMap.java index 8431add6..35efcac2 100644 --- a/src/io/github/sspanak/traditionalt9/KeyMap.java +++ b/src/io/github/sspanak/tt9/KeyMap.java @@ -1,4 +1,4 @@ -package io.github.sspanak.traditionalt9; +package io.github.sspanak.tt9; import android.os.Environment; import android.util.Log; diff --git a/src/io/github/sspanak/traditionalt9/LangHelper.java b/src/io/github/sspanak/tt9/LangHelper.java similarity index 99% rename from src/io/github/sspanak/traditionalt9/LangHelper.java rename to src/io/github/sspanak/tt9/LangHelper.java index dff64de5..c8e67cdb 100644 --- a/src/io/github/sspanak/traditionalt9/LangHelper.java +++ b/src/io/github/sspanak/tt9/LangHelper.java @@ -1,4 +1,4 @@ -package io.github.sspanak.traditionalt9; +package io.github.sspanak.tt9; import java.util.HashMap; import java.util.Locale; diff --git a/src/io/github/sspanak/traditionalt9/SmileyDialog.java b/src/io/github/sspanak/tt9/SmileyDialog.java similarity index 96% rename from src/io/github/sspanak/traditionalt9/SmileyDialog.java rename to src/io/github/sspanak/tt9/SmileyDialog.java index 2b7af5f6..2fb6c141 100644 --- a/src/io/github/sspanak/traditionalt9/SmileyDialog.java +++ b/src/io/github/sspanak/tt9/SmileyDialog.java @@ -1,4 +1,4 @@ -package io.github.sspanak.traditionalt9; +package io.github.sspanak.tt9; import android.content.Context; import android.view.View; diff --git a/src/io/github/sspanak/traditionalt9/SymbolDialog.java b/src/io/github/sspanak/tt9/SymbolDialog.java similarity index 95% rename from src/io/github/sspanak/traditionalt9/SymbolDialog.java rename to src/io/github/sspanak/tt9/SymbolDialog.java index 18326e75..e4448d0d 100644 --- a/src/io/github/sspanak/traditionalt9/SymbolDialog.java +++ b/src/io/github/sspanak/tt9/SymbolDialog.java @@ -1,4 +1,4 @@ -package io.github.sspanak.traditionalt9; +package io.github.sspanak.tt9; import android.content.Context; import android.view.View; diff --git a/src/io/github/sspanak/traditionalt9/T9DB.java b/src/io/github/sspanak/tt9/T9DB.java similarity index 99% rename from src/io/github/sspanak/traditionalt9/T9DB.java rename to src/io/github/sspanak/tt9/T9DB.java index 192d7b0a..7ae042e7 100644 --- a/src/io/github/sspanak/traditionalt9/T9DB.java +++ b/src/io/github/sspanak/tt9/T9DB.java @@ -1,4 +1,4 @@ -package io.github.sspanak.traditionalt9; +package io.github.sspanak.tt9; import android.content.ContentValues; import android.content.Context; @@ -14,7 +14,7 @@ import android.text.TextUtils; import android.util.Log; import android.widget.Toast; -import io.github.sspanak.traditionalt9.LangHelper.LANGUAGE; +import io.github.sspanak.tt9.LangHelper.LANGUAGE; import java.util.AbstractList; import java.util.HashMap; diff --git a/src/io/github/sspanak/traditionalt9/TraditionalT9.java b/src/io/github/sspanak/tt9/TraditionalT9.java similarity index 98% rename from src/io/github/sspanak/traditionalt9/TraditionalT9.java rename to src/io/github/sspanak/tt9/TraditionalT9.java index b43125d7..e19dd5b1 100644 --- a/src/io/github/sspanak/traditionalt9/TraditionalT9.java +++ b/src/io/github/sspanak/tt9/TraditionalT9.java @@ -1,4 +1,4 @@ -package io.github.sspanak.traditionalt9; +package io.github.sspanak.tt9; import android.content.Intent; import android.content.res.Resources; @@ -18,9 +18,9 @@ import android.view.inputmethod.ExtractedTextRequest; import android.view.inputmethod.InputConnection; import android.widget.Toast; -import io.github.sspanak.traditionalt9.LangHelper.LANGUAGE; -import io.github.sspanak.traditionalt9.T9DB.DBSettings.SETTING; -import io.github.sspanak.traditionalt9.Utils.SpecialInputType; +import io.github.sspanak.tt9.LangHelper.LANGUAGE; +import io.github.sspanak.tt9.T9DB.DBSettings.SETTING; +import io.github.sspanak.tt9.Utils.SpecialInputType; import java.util.AbstractList; import java.util.ArrayList; @@ -216,8 +216,8 @@ public class TraditionalT9 extends InputMethodService implements Intent awintent = new Intent(this, AddWordAct.class); awintent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); awintent.addFlags(Intent.FLAG_ACTIVITY_NO_HISTORY); - awintent.putExtra("io.github.sspanak.traditionalt9.word", template); - awintent.putExtra("io.github.sspanak.traditionalt9.lang", mLang.id); + awintent.putExtra("io.github.sspanak.tt9.word", template); + awintent.putExtra("io.github.sspanak.tt9.lang", mLang.id); clearState(); currentInputConnection.setComposingText("", 0); currentInputConnection.finishComposingText(); @@ -381,7 +381,7 @@ public class TraditionalT9 extends InputMethodService implements } String prevword = null; if (inputField.privateImeOptions != null - && inputField.privateImeOptions.equals("io.github.sspanak.traditionalt9.addword=true")) { + && inputField.privateImeOptions.equals("io.github.sspanak.tt9.addword=true")) { mAddingWord = true; // mAddingSkipInput = true; // Log.d("onStartInput", "ADDING WORD"); diff --git a/src/io/github/sspanak/traditionalt9/TraditionalT9Settings.java b/src/io/github/sspanak/tt9/TraditionalT9Settings.java similarity index 98% rename from src/io/github/sspanak/traditionalt9/TraditionalT9Settings.java rename to src/io/github/sspanak/tt9/TraditionalT9Settings.java index 6a033ed7..5eef34b9 100644 --- a/src/io/github/sspanak/traditionalt9/TraditionalT9Settings.java +++ b/src/io/github/sspanak/tt9/TraditionalT9Settings.java @@ -1,4 +1,4 @@ -package io.github.sspanak.traditionalt9; +package io.github.sspanak.tt9; import android.app.Activity; import android.app.AlertDialog; @@ -26,11 +26,11 @@ import android.widget.Toast; import com.stackoverflow.answer.UnicodeBOMInputStream; -import io.github.sspanak.traditionalt9.LangHelper.LANGUAGE; -import io.github.sspanak.traditionalt9.T9DB.DBSettings.SETTING; -import io.github.sspanak.traditionalt9.settings.CustomInflater; -import io.github.sspanak.traditionalt9.settings.Setting; -import io.github.sspanak.traditionalt9.settings.SettingAdapter; +import io.github.sspanak.tt9.LangHelper.LANGUAGE; +import io.github.sspanak.tt9.T9DB.DBSettings.SETTING; +import io.github.sspanak.tt9.settings.CustomInflater; +import io.github.sspanak.tt9.settings.Setting; +import io.github.sspanak.tt9.settings.SettingAdapter; import java.io.BufferedReader; import java.io.BufferedWriter; @@ -60,7 +60,7 @@ public class TraditionalT9Settings extends ListActivity implements final static String dictname = "%s-utf8.txt"; final static String userdictname = "user.%s.dict"; final static String backupname = "t9backup.txt"; - final static String sddir = "traditionalt9"; + final static String sddir = "tt9"; final int BACKUP_Q_LIMIT = 1000; diff --git a/src/io/github/sspanak/traditionalt9/Utils.java b/src/io/github/sspanak/tt9/Utils.java similarity index 99% rename from src/io/github/sspanak/traditionalt9/Utils.java rename to src/io/github/sspanak/tt9/Utils.java index 3018e74f..43742bdf 100644 --- a/src/io/github/sspanak/traditionalt9/Utils.java +++ b/src/io/github/sspanak/tt9/Utils.java @@ -1,4 +1,4 @@ -package io.github.sspanak.traditionalt9; +package io.github.sspanak.tt9; import android.text.InputType; import android.util.Log; diff --git a/src/io/github/sspanak/traditionalt9/settings/CustomInflater.java b/src/io/github/sspanak/tt9/settings/CustomInflater.java similarity index 88% rename from src/io/github/sspanak/traditionalt9/settings/CustomInflater.java rename to src/io/github/sspanak/tt9/settings/CustomInflater.java index 1b5bc139..94979828 100644 --- a/src/io/github/sspanak/traditionalt9/settings/CustomInflater.java +++ b/src/io/github/sspanak/tt9/settings/CustomInflater.java @@ -1,4 +1,4 @@ -package io.github.sspanak.traditionalt9.settings; +package io.github.sspanak.tt9.settings; // http://stackoverflow.com/a/8488691 @@ -22,7 +22,7 @@ public class CustomInflater { if (token == XmlPullParser.START_TAG) { if (!parser.getName().equals("Settings")) { //prepend package - Class aClass = Class.forName("io.github.sspanak.traditionalt9.settings."+parser.getName()); + Class aClass = Class.forName("io.github.sspanak.tt9.settings."+parser.getName()); Class[] params = new Class[]{Context.class, AttributeSet.class, isettings.getClass()}; Constructor constructor = aClass.getConstructor(params); try { diff --git a/src/io/github/sspanak/traditionalt9/settings/Setting.java b/src/io/github/sspanak/tt9/settings/Setting.java similarity index 91% rename from src/io/github/sspanak/traditionalt9/settings/Setting.java rename to src/io/github/sspanak/tt9/settings/Setting.java index 7fe7d5d3..1e85a531 100644 --- a/src/io/github/sspanak/traditionalt9/settings/Setting.java +++ b/src/io/github/sspanak/tt9/settings/Setting.java @@ -1,10 +1,10 @@ -package io.github.sspanak.traditionalt9.settings; +package io.github.sspanak.tt9.settings; import android.content.Context; import android.util.AttributeSet; import android.view.View; -import io.github.sspanak.traditionalt9.R; +import io.github.sspanak.tt9.R; public class Setting { String title; diff --git a/src/io/github/sspanak/traditionalt9/settings/SettingAdapter.java b/src/io/github/sspanak/tt9/settings/SettingAdapter.java similarity index 94% rename from src/io/github/sspanak/traditionalt9/settings/SettingAdapter.java rename to src/io/github/sspanak/tt9/settings/SettingAdapter.java index 9e257a17..d7930a1e 100644 --- a/src/io/github/sspanak/traditionalt9/settings/SettingAdapter.java +++ b/src/io/github/sspanak/tt9/settings/SettingAdapter.java @@ -1,4 +1,4 @@ -package io.github.sspanak.traditionalt9.settings; +package io.github.sspanak.tt9.settings; // https://github.com/codepath/android_guides/wiki/Using-an-ArrayAdapter-with-ListView @@ -9,7 +9,7 @@ import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; -import io.github.sspanak.traditionalt9.R; +import io.github.sspanak.tt9.R; import java.util.ArrayList; diff --git a/src/io/github/sspanak/traditionalt9/settings/SettingCheck.java b/src/io/github/sspanak/tt9/settings/SettingCheck.java similarity index 84% rename from src/io/github/sspanak/traditionalt9/settings/SettingCheck.java rename to src/io/github/sspanak/tt9/settings/SettingCheck.java index 69197123..4d4e96a0 100644 --- a/src/io/github/sspanak/traditionalt9/settings/SettingCheck.java +++ b/src/io/github/sspanak/tt9/settings/SettingCheck.java @@ -1,13 +1,13 @@ -package io.github.sspanak.traditionalt9.settings; +package io.github.sspanak.tt9.settings; import android.content.Context; import android.util.AttributeSet; import android.widget.CheckBox; -import io.github.sspanak.traditionalt9.R; -import io.github.sspanak.traditionalt9.T9DB; -import io.github.sspanak.traditionalt9.T9DB.DBSettings.SETTING; +import io.github.sspanak.tt9.R; +import io.github.sspanak.tt9.T9DB; +import io.github.sspanak.tt9.T9DB.DBSettings.SETTING; public class SettingCheck extends Setting { boolean value; diff --git a/src/io/github/sspanak/traditionalt9/settings/SettingList.java b/src/io/github/sspanak/tt9/settings/SettingList.java similarity index 90% rename from src/io/github/sspanak/traditionalt9/settings/SettingList.java rename to src/io/github/sspanak/tt9/settings/SettingList.java index f1672682..d8554279 100644 --- a/src/io/github/sspanak/traditionalt9/settings/SettingList.java +++ b/src/io/github/sspanak/tt9/settings/SettingList.java @@ -1,13 +1,13 @@ -package io.github.sspanak.traditionalt9.settings; +package io.github.sspanak.tt9.settings; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.util.AttributeSet; -import io.github.sspanak.traditionalt9.R; -import io.github.sspanak.traditionalt9.T9DB; -import io.github.sspanak.traditionalt9.T9DB.DBSettings.SETTING; +import io.github.sspanak.tt9.R; +import io.github.sspanak.tt9.T9DB; +import io.github.sspanak.tt9.T9DB.DBSettings.SETTING; public class SettingList extends Setting { String[] entries; diff --git a/src/io/github/sspanak/traditionalt9/settings/SettingMultiList.java b/src/io/github/sspanak/tt9/settings/SettingMultiList.java similarity index 90% rename from src/io/github/sspanak/traditionalt9/settings/SettingMultiList.java rename to src/io/github/sspanak/tt9/settings/SettingMultiList.java index 466a4fe4..31ef3ee8 100644 --- a/src/io/github/sspanak/traditionalt9/settings/SettingMultiList.java +++ b/src/io/github/sspanak/tt9/settings/SettingMultiList.java @@ -1,4 +1,4 @@ -package io.github.sspanak.traditionalt9.settings; +package io.github.sspanak.tt9.settings; import android.app.AlertDialog; import android.content.Context; @@ -6,10 +6,10 @@ import android.content.DialogInterface; import android.util.AttributeSet; import android.widget.TextView; -import io.github.sspanak.traditionalt9.LangHelper; -import io.github.sspanak.traditionalt9.R; -import io.github.sspanak.traditionalt9.T9DB; -import io.github.sspanak.traditionalt9.T9DB.DBSettings.SETTING; +import io.github.sspanak.tt9.LangHelper; +import io.github.sspanak.tt9.R; +import io.github.sspanak.tt9.T9DB; +import io.github.sspanak.tt9.T9DB.DBSettings.SETTING; public class SettingMultiList extends SettingList { boolean[] selectedEntries = new boolean[0]; diff --git a/store-res/TT9-1024x500.png b/store-res/TT9-1024x500.png deleted file mode 100644 index 73b9ccfb..00000000 Binary files a/store-res/TT9-1024x500.png and /dev/null differ diff --git a/store-res/TT9-180x120.png b/store-res/TT9-180x120.png deleted file mode 100644 index 98eec150..00000000 Binary files a/store-res/TT9-180x120.png and /dev/null differ diff --git a/store-res/TT9-512x512.png b/store-res/TT9-512x512.png deleted file mode 100644 index 97acf829..00000000 Binary files a/store-res/TT9-512x512.png and /dev/null differ diff --git a/store-res/readme.txt b/store-res/readme.txt deleted file mode 100644 index 54e2c279..00000000 --- a/store-res/readme.txt +++ /dev/null @@ -1,22 +0,0 @@ -Title -Traditional T9 Keypad IME - - -Full description -T9 predictive text input method using your hardware keypad. This is not a software/on screen keyboard. -Only makes sense to install this on a device with a hardware keypad. -Input is only available via the numeric keypad. -See website for help and support. - -Multilingual support (English, Russian, German and French) - - -Short description -T9 predictive text input using your phone keypad! (English, Russian, German & French) - - -What's new in this version? -New language support (German, French) -Other fixes and modifications. - -See github for commit history and other history info.