diff --git a/app/build.gradle b/app/build.gradle index fd0b5fb..793d382 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,5 +1,19 @@ apply plugin: 'com.android.application' +def keystorePropertiesFile = project.file("keystore.properties") +def keystoreProperties = new Properties() +keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) android { + lintOptions { + abortOnError false + } + signingConfigs { + config { + keyAlias keystoreProperties['keyAlias'] + keyPassword keystoreProperties['keyPassword'] + storeFile file(keystoreProperties['storeFile']) + storePassword keystoreProperties['storePassword'] + } + } compileSdkVersion 25 buildToolsVersion "25.0.2" @@ -11,12 +25,13 @@ android { buildTypes { release { - minifyEnabled false + minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' + signingConfig signingConfigs.config } } } dependencies { compile 'com.android.support:support-v4:25.1.1' -} \ No newline at end of file +} diff --git a/app/keystore.properties b/app/keystore.properties new file mode 100644 index 0000000..e96907f --- /dev/null +++ b/app/keystore.properties @@ -0,0 +1,4 @@ +storeFile=tmptmp.jks +storePassword=tmptmp +keyAlias=tmptmp +keyPassword=tmptmp diff --git a/app/proguard-rules.txt b/app/proguard-rules.txt new file mode 100644 index 0000000..8bf108e --- /dev/null +++ b/app/proguard-rules.txt @@ -0,0 +1,31 @@ +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in D:\aoeiuv020\development\android\sdk/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the proguardFiles +# directive in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} + +#apk 包内所有 class 的内部结构 +-dump class_files.txt +#未混淆的类和成员 +-printseeds seeds.txt +#列出从 apk 中删除的代码 +-printusage unused.txt +#混淆前后的映射 +-printmapping mapping.txt +#各种问题通通无视 +-dontusemixedcaseclassnames +-dontskipnonpubliclibraryclasses +-verbose +-ignorewarnings diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 360d13a..af66a8e 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -19,7 +19,7 @@ --> + android:versionName="3.0.0" android:versionCode="40"> diff --git a/app/src/main/res/raw/key.html b/app/src/main/res/raw/key.html index 0083fe0..6de347f 100644 --- a/app/src/main/res/raw/key.html +++ b/app/src/main/res/raw/key.html @@ -292,13 +292,13 @@ stat["color"] = "red"; xcomment.innerHTML = "$7f060001"; } else if (newState == "problem") { - stat.innerHTML = "$7f060019"; + stat.innerHTML = "$7f06001a"; stat["color"] = "red"; - xcomment.innerHTML = '$7f060016 $7f060017'; + xcomment.innerHTML = '$7f060017 $7f060018'; } else if (newState == "multi") { - stat.innerHTML = "$7f06001d"; + stat.innerHTML = "$7f06001e"; stat["color"] = "red"; - xcomment.innerHTML = "$7f06001c"; + xcomment.innerHTML = "$7f06001d"; } } @@ -463,12 +463,12 @@ -

$7f060023

+

$7f060024

-

$7f060022

-
$7f060021
-
$7f060020
+

$7f060023

+
$7f060022
+
$7f060021
@@ -478,17 +478,17 @@

$7f060022

-

$7f06002b

+

$7f06002c

    -
  • $7f060029
  • -
  • $7f060024
  • +
  • $7f06002a
  • $7f060025
  • -
  • $7f060027
  • +
  • $7f060026
  • $7f060028
  • +
  • $7f060029
  • F3 = Search
  • Escape,F5 = BACK
  • F6 = Home
  • -
  • $7f06002a
  • +
  • $7f06002b
  • F4 = Edit locally/ submit (alpha)
@@ -496,7 +496,7 @@

$7f06002b

-

$7f06001f $7f06001e

+

$7f060020 $7f06001f

@@ -505,7 +505,7 @@

$7f06001f $7f06001e

-

$7f06001b

+

$7f06001c

@@ -515,7 +515,7 @@

$7f06001b

- + diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 7ee768a..502f17b 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -77,4 +77,5 @@ Para activar !WiFiKeyboard en tu dispositivo: F9, F10 = Control de volumen Código fuente disponible (licencia GPL v2). Creado por Ivan Volosyuk en 2010. + Seleccione cualquier campo de entrada de texto, eche un vistazo en el área de notificación para el selector de método de entrada diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index d390663..95b4193 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -59,4 +59,5 @@ Per abilitare !WiFiKeyboard sul tuo telefono: F9, F10 = Controllo voloume Codice sorgente disponibile (licenza GPL v2). Creato da Ivan Volosyuk nel 2010. + Selezionare qualsiasi campo di inserimento testo, date un\'occhiata nell\'area di notifica per il selettore metodo di input diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml index 7e37c42..eac44dc 100644 --- a/app/src/main/res/values-nl/strings.xml +++ b/app/src/main/res/values-nl/strings.xml @@ -59,4 +59,5 @@ Om !WiFiKeyboard te activeren op uw toestel:: F9, F10 = Volume knoppen Bron code si beschikbaar (licentie GPL v2). Gecreëerd door Ivan Volosyuk in 2010. + De keuze van een tekst, gezien de input voor de regio \'s - Kennisgeving diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 9653651..62a05f1 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -59,4 +59,5 @@ F9, F10 = Управление громкостью Доступен исходный код (лицензия GPL v2). Разработка Ивана Волосюка, 2010 год + Выберите любое поле ввода текста, посмотрите в области уведомлений для выбора метода ввода diff --git a/app/src/main/res/values-sv-rSE/strings.xml b/app/src/main/res/values-sv-rSE/strings.xml index 237ce6c..251d583 100644 --- a/app/src/main/res/values-sv-rSE/strings.xml +++ b/app/src/main/res/values-sv-rSE/strings.xml @@ -59,4 +59,5 @@ För att aktivera !WiFiKeyboard på din enhet: F9, F10 = Volymkontroll Källkod tillgänglig (licens GPL v2). Skapad av Ivan Volosyuk 2010. + Välj ett textinmatningsfält , ta en titt i meddelandefältet för inmatningsmetod väljare diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 0bf00cd..42c1573 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -59,4 +59,5 @@ F9, F10 = 音量控制 源码可用(基于GPL v2协议)。 由 Ivan Volosyuk 于 2010 创建。<br/>安智网汉化(<a href="http://goapk.com">http://goapk.com</a>) + 选择任何输入框,在通知栏中查看输入法选择器 diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index c77dceb..7fade5b 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -59,4 +59,5 @@ F9, F10 = 音量控制 源碼可用(基於GPL v2協議)。 由 Ivan Volosyuk 於 2010 建立。<br/>安智網中文化(<a href="http://goapk.com">http://goapk.com</a>) + 選擇任何輸入框,在通知欄中查看輸入法選擇器 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 4cf0804..8e374cb 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -24,6 +24,7 @@ Go to Settings->Language & Keyboard Enable WiFiKeyboard in the list On any text input touch and hold for a second + Select any text input field, take a look in notification area for the input method selector Change \"InputMethod\" to \"WiFiKeyboard\" Ensure you have enabled WiFi or GPRS/3G network diff --git a/app/tmptmp.jks b/app/tmptmp.jks new file mode 100644 index 0000000..6f9f71f Binary files /dev/null and b/app/tmptmp.jks differ diff --git a/make_template.py b/make_template.py index 4aec2ad..ef9b4b6 100755 --- a/make_template.py +++ b/make_template.py @@ -1,5 +1,7 @@ #!/usr/bin/python2 +#coding=utf-8 +#TODO 用python处理感觉有点蠢,明明可以用java处理的, import xml.parsers.expat; import sys; import re;