Skip to content

Commit

Permalink
release 3.0.0
Browse files Browse the repository at this point in the history
添加一个KeyStore,用来签名release版本,
虽然原作者有在google play发行,
但似乎不打算更新,
这个KeyStore签名的release只发在github上,不发行在市场,
  • Loading branch information
AoEiuV020 committed Feb 13, 2017
1 parent bb4790b commit 65e3d37
Show file tree
Hide file tree
Showing 15 changed files with 78 additions and 20 deletions.
19 changes: 17 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -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"

Expand All @@ -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'
}
}
4 changes: 4 additions & 0 deletions app/keystore.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
storeFile=tmptmp.jks
storePassword=tmptmp
keyAlias=tmptmp
keyPassword=tmptmp
31 changes: 31 additions & 0 deletions app/proguard-rules.txt
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.volosyukivan"
android:versionName="2.3.5" android:versionCode="30">
android:versionName="3.0.0" android:versionCode="40">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
Expand Down
32 changes: 16 additions & 16 deletions app/src/main/res/raw/key.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="$7f060018">$7f060017</a>';
xcomment.innerHTML = '$7f060017 <a href="$7f060019">$7f060018</a>';
} else if (newState == "multi") {
stat.innerHTML = "$7f06001d";
stat.innerHTML = "$7f06001e";
stat["color"] = "red";
xcomment.innerHTML = "$7f06001c";
xcomment.innerHTML = "$7f06001d";
}
}

Expand Down Expand Up @@ -463,12 +463,12 @@
<tr valign="top">
<td class="main" width="450">
<!-- Main Window -->
<h1>$7f060023</h1>
<h1>$7f060024</h1>
<table border="0"><tbody><tr><td cellspacing="50" cellpadding="50">
<form name="f">
<h2>$7f060022</h2>
<div class="mode"><input type="radio" name="mode" value="i" checked>$7f060021</div>
<div class="mode"><input type="radio" name="mode" value="c">$7f060020</div>
<h2>$7f060023</h2>
<div class="mode"><input type="radio" name="mode" value="i" checked>$7f060022</div>
<div class="mode"><input type="radio" name="mode" value="c">$7f060021</div>
</form>
</td></tr></tbody></table>

Expand All @@ -478,25 +478,25 @@ <h2>$7f060022</h2>
<table border="0"><tbody><tr><td cellspacing="50" cellpadding="50">
<tr>
<td>
<h2>$7f06002b</h2>
<h2>$7f06002c</h2>
<ul>
<li>$7f060029</li>
<li>$7f060024</li>
<li>$7f06002a</li>
<li>$7f060025</li>
<li>$7f060027</li>
<li>$7f060026</li>
<li>$7f060028</li>
<li>$7f060029</li>
<li>F3 = Search</li>
<li>Escape,F5 = BACK</li>
<li>F6 = Home</li>
<li>$7f06002a</li>
<li>$7f06002b</li>
<li><font color="red">F4 = Edit locally/ submit (alpha)</font></li>
</ul>
</td></tr></tbody></table>
</td>
<td align="right" width="200">
<!-- Side bar -->
<table border="1" cellpadding="20"><tbody><tr><td cellspacing="50" cellpadding="50">
<h2>$7f06001f <font color="black" id="status">$7f06001e</font></h2>
<h2>$7f060020 <font color="black" id="status">$7f06001f</font></h2>
<div id="comment"></div>
</td></tr></tbody></table>

Expand All @@ -505,7 +505,7 @@ <h2>$7f06001f <font color="black" id="status">$7f06001e</font></h2>
</tr>
<tr>
<td colspan="3">
<h2>$7f06001b</h2>
<h2>$7f06001c</h2>
<form method="post" action="/form">
<input type="hidden" name="name" value="value">
<textarea name="text" cols="100" rows="20" id="in"></textarea>
Expand All @@ -515,7 +515,7 @@ <h2>$7f06001b</h2>
</tr>
<tr>
<td colspan="3">
<div class="footer"><a href="http://code.google.com/p/wifikeyboard/">$7f060014</a><br>$7f060013</div>
<div class="footer"><a href="http://code.google.com/p/wifikeyboard/">$7f060015</a><br>$7f060014</div>
<!-- <div id="keys">Debug: key presses:</div> -->
<!-- <div id="debug">New event placeholder.</div> -->
<td>
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values-es/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,5 @@ Para activar !WiFiKeyboard en tu dispositivo:
<string name="special_key_volume_mapping">F9, F10 = Control de volumen</string>
<string name="footer_source_code">Código fuente disponible (licencia GPL v2).</string>
<string name="footer_author">Creado por Ivan Volosyuk en 2010.</string>
<string name="desc_toch_input_field_honeycomb">Seleccione cualquier campo de entrada de texto, eche un vistazo en el área de notificación para el selector de método de entrada</string>
</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values-it/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,5 @@ Per abilitare !WiFiKeyboard sul tuo telefono:
<string name="special_key_volume_mapping">F9, F10 = Controllo voloume</string>
<string name="footer_source_code">Codice sorgente disponibile (licenza GPL v2).</string>
<string name="footer_author">Creato da Ivan Volosyuk nel 2010.</string>
<string name="desc_toch_input_field_honeycomb">Selezionare qualsiasi campo di inserimento testo, date un\'occhiata nell\'area di notifica per il selettore metodo di input</string>
</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values-nl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,5 @@ Om !WiFiKeyboard te activeren op uw toestel::
<string name="special_key_volume_mapping">F9, F10 = Volume knoppen</string>
<string name="footer_source_code">Bron code si beschikbaar (licentie GPL v2).</string>
<string name="footer_author">Gecreëerd door Ivan Volosyuk in 2010.</string>
<string name="desc_toch_input_field_honeycomb">De keuze van een tekst, gezien de input voor de regio \'s - Kennisgeving</string>
</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values-ru/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,5 @@
<string name="special_key_volume_mapping">F9, F10 = Управление громкостью</string>
<string name="footer_source_code">Доступен исходный код (лицензия GPL v2).</string>
<string name="footer_author">Разработка Ивана Волосюка, 2010 год</string>
<string name="desc_toch_input_field_honeycomb">Выберите любое поле ввода текста, посмотрите в области уведомлений для выбора метода ввода</string>
</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values-sv-rSE/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,5 @@ För att aktivera !WiFiKeyboard på din enhet:
<string name="special_key_volume_mapping">F9, F10 = Volymkontroll</string>
<string name="footer_source_code">Källkod tillgänglig (licens GPL v2).</string>
<string name="footer_author">Skapad av Ivan Volosyuk 2010.</string>
<string name="desc_toch_input_field_honeycomb">Välj ett textinmatningsfält , ta en titt i meddelandefältet för inmatningsmetod väljare</string>
</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values-zh-rCN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,5 @@
<string name="special_key_volume_mapping">F9, F10 = 音量控制</string>
<string name="footer_source_code">源码可用(基于GPL v2协议)。</string>
<string name="footer_author">由 Ivan Volosyuk 于 2010 创建。&lt;br/&gt;安智网汉化(&lt;a href="http://goapk.com"&gt;http://goapk.com&lt;/a&gt;)</string>
<string name="desc_toch_input_field_honeycomb">选择任何输入框,在通知栏中查看输入法选择器</string>
</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values-zh-rTW/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,5 @@
<string name="special_key_volume_mapping">F9, F10 = 音量控制</string>
<string name="footer_source_code">源碼可用(基於GPL v2協議)。</string>
<string name="footer_author">由 Ivan Volosyuk 於 2010 建立。&lt;br/&gt;安智網中文化(&lt;a href="http://goapk.com"&gt;http://goapk.com&lt;/a&gt;)</string>
<string name="desc_toch_input_field_honeycomb">選擇任何輸入框,在通知欄中查看輸入法選擇器</string>
</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<string name="desc_goto_settings">Go to Settings->Language &amp; Keyboard</string>
<string name="desc_enable_kbd">Enable WiFiKeyboard in the list</string>
<string name="desc_toch_input_field">On any text input touch and hold for a second</string>
<!--TODO 下面这个之前没翻译,简单使用google translate,-->
<string name="desc_toch_input_field_honeycomb">Select any text input field, take a look in notification area for the input method selector</string>
<string name="desc_change_input_method">Change \"InputMethod\" to \"WiFiKeyboard\"</string>
<string name="desc_enable_network">Ensure you have enabled WiFi or GPRS/3G network</string>
Expand Down
Binary file added app/tmptmp.jks
Binary file not shown.
2 changes: 1 addition & 1 deletion make_template.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/python2

#TODO 用python处理感觉有点蠢,明明可以用java处理的,
import xml.parsers.expat;
import sys;
import re;
Expand Down

0 comments on commit 65e3d37

Please sign in to comment.