• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Offline HTML Reader for Android


Commit MetaInfo

Revision438ca7d671f33b25f596b3848167d7147a104f1f (tree)
Zeit2014-12-30 19:07:41
AutorKana Koda <kodakana@user...>
CommiterKana Koda

Log Message

KitKat で外部ストレージのファイルを開けない問題の修正。

Ändern Zusammenfassung

Diff

--- a/.classpath
+++ b/.classpath
@@ -3,6 +3,7 @@
33 <classpathentry kind="src" path="src"/>
44 <classpathentry kind="src" path="gen"/>
55 <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
6- <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
6+ <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
7+ <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
78 <classpathentry kind="output" path="bin/classes"/>
89 </classpath>
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -1,12 +1,13 @@
11 <?xml version="1.0" encoding="utf-8"?>
22 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
33 package="org.pulpdust.unnetbrowser"
4- android:versionCode="5"
5- android:versionName="0.82"
4+ android:versionCode="7"
5+ android:versionName="0.85"
66 android:installLocation="auto" >
77
8- <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="14" />
8+ <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="19" />
99 <uses-permission android:name="android.permission.INTERNET"/>
10+ <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
1011
1112 <application
1213 android:icon="@drawable/ic_launcher"
--- a/bin/AndroidManifest.xml
+++ b/bin/AndroidManifest.xml
@@ -1,12 +1,13 @@
11 <?xml version="1.0" encoding="utf-8"?>
22 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
33 package="org.pulpdust.unnetbrowser"
4- android:versionCode="5"
5- android:versionName="0.82"
4+ android:versionCode="7"
5+ android:versionName="0.85"
66 android:installLocation="auto" >
77
8- <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="14" />
8+ <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="19" />
99 <uses-permission android:name="android.permission.INTERNET"/>
10+ <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
1011
1112 <application
1213 android:icon="@drawable/ic_launcher"
Binary files a/bin/Unnet Browser.apk and b/bin/Unnet Browser.apk differ
Binary files a/bin/classes.dex and b/bin/classes.dex differ
Binary files a/bin/classes/org/pulpdust/unnetbrowser/UnnetBrowserActivity$10.class and b/bin/classes/org/pulpdust/unnetbrowser/UnnetBrowserActivity$10.class differ
Binary files a/bin/classes/org/pulpdust/unnetbrowser/UnnetBrowserActivity$11.class and b/bin/classes/org/pulpdust/unnetbrowser/UnnetBrowserActivity$11.class differ
Binary files a/bin/classes/org/pulpdust/unnetbrowser/UnnetBrowserActivity$12.class and b/bin/classes/org/pulpdust/unnetbrowser/UnnetBrowserActivity$12.class differ
Binary files a/bin/classes/org/pulpdust/unnetbrowser/UnnetBrowserActivity$13.class and b/bin/classes/org/pulpdust/unnetbrowser/UnnetBrowserActivity$13.class differ
Binary files a/bin/classes/org/pulpdust/unnetbrowser/UnnetBrowserActivity.class and b/bin/classes/org/pulpdust/unnetbrowser/UnnetBrowserActivity.class differ
--- a/bin/jarlist.cache
+++ b/bin/jarlist.cache
@@ -1,3 +1,3 @@
1-# cache for current jar dependecy. DO NOT EDIT.
1+# cache for current jar dependency. DO NOT EDIT.
22 # format is <lastModified> <length> <SHA-1> <path>
33 # Encoding is UTF-8
Binary files /dev/null and b/bin/res/crunch/drawable-hdpi/ic_launcher.png differ
Binary files /dev/null and b/bin/res/crunch/drawable-ldpi/ic_launcher.png differ
Binary files /dev/null and b/bin/res/crunch/drawable-mdpi/ic_launcher.png differ
Binary files /dev/null and b/bin/res/crunch/drawable-xhdpi/ic_launcher.png differ
Binary files a/bin/resources.ap_ and b/bin/resources.ap_ differ
--- a/project.properties
+++ b/project.properties
@@ -11,4 +11,4 @@
1111 #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
1212
1313 # Project target.
14-target=android-14
14+target=android-19
--- a/res/values-ja/strings.xml
+++ b/res/values-ja/strings.xml
@@ -5,11 +5,11 @@
55 <string name="app_name">Unnet Browser</string>
66 <string name="app_desc">オフライン HTML リーダ</string>
77 <string name="version">バージョン</string>
8- <string name="app_ver">0.8</string>
8+ <string name="app_ver">0.85</string>
99 <string name="address">連絡先</string>
1010 <string name="app_author">Kodakana&lt;kodakana.hws@gmail.com&gt;</string>
1111 <string name="copy">製作・著作</string>
12- <string name="app_copy">&#169; 2012 Kodakana &lt;kodakana.hws@gmail.com&gt;</string>
12+ <string name="app_copy">&#169; 2014 Kodakana &lt;kodakana.hws@gmail.com&gt;</string>
1313 <string name="license">許諾条件</string>
1414 <string name="app_lic">GNU GPL v3</string>
1515 <string name="open">開く&#8230;</string>
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -5,11 +5,11 @@
55 <string name="app_name">Unnet Browser</string>
66 <string name="app_desc">is an offline HTML reader.</string>
77 <string name="version">Version</string>
8- <string name="app_ver">0.8</string>
8+ <string name="app_ver">0.85</string>
99 <string name="address">Address</string>
1010 <string name="app_author">Kodakana &lt;kodakana.hws@gmail.com&gt;</string>
1111 <string name="copy">Copyright</string>
12- <string name="app_copy">&#169; 2012 Kodakana &lt;kodakana.hws@gmail.com&gt;</string>
12+ <string name="app_copy">&#169; 2014 Kodakana &lt;kodakana.hws@gmail.com&gt;</string>
1313 <string name="license">License</string>
1414 <string name="app_lic">GNU GPL v3</string>
1515 <string name="open">Open&#8230;</string>
--- a/src/org/pulpdust/unnetbrowser/UnnetBrowserActivity.java
+++ b/src/org/pulpdust/unnetbrowser/UnnetBrowserActivity.java
@@ -952,46 +952,27 @@ public class UnnetBrowserActivity extends FragmentActivity {
952952 // }
953953 public void textFind(String subject){
954954 fsbj = subject;
955- textview1.setVisibility(View.VISIBLE);
955+ if (Build.VERSION.SDK_INT < 16) textview1.setVisibility(View.VISIBLE);
956956 if (matchs == -1){
957957 webview.clearMatches();
958958 matchs = webview.findAll(subject);
959-// webview.findNext(true);
960-// match++;
961959 } else {}
962960 if (match == 0){
963-// webview.findNext(false);
964961 match++;
965962 }
966963 else if (matchs > match){
967-// webview.findAll(subject);
968964 webview.findNext(true);
969965 match++;
970966 } else {}
971967 if (matchs > 0){
972- textview1.setText(getString(R.string.match)+" "+String.valueOf(match)+"/"+String.valueOf(matchs));
973-// Toast tst = Toast.makeText(this,
974-// getString(R.string.match)+" "+String.valueOf(match)+"/"+String.valueOf(matchs),
975-// Toast.LENGTH_SHORT);
976-// tst.setGravity(Gravity.BOTTOM, 0, 0);
977-// tst.cancel();
978-// tst.show();
968+ if (Build.VERSION.SDK_INT < 16) textview1.setText(getString(R.string.match)+" "+String.valueOf(match)+"/"+String.valueOf(matchs));
979969 } else {
980- textview1.setText(getString(R.string.match)+" "+String.valueOf(matchs));
981-// Toast tst = Toast.makeText(this,
982-// getString(R.string.match)+" "+String.valueOf(matchs),
983-// Toast.LENGTH_SHORT);
984-// tst.setGravity(Gravity.BOTTOM, 0, 0);
985-// tst.cancel();
986-// tst.show();
970+ if (Build.VERSION.SDK_INT < 16) textview1.setText(getString(R.string.match)+" "+String.valueOf(matchs));
987971 match = 0;
988972 }
989973 if (matchs == match){
990974 matchs = -1;
991975 match = 0;
992-// matchs = webview.findAll(subject);
993-// webview.findNext(true);
994-// match++;
995976 }
996977 }
997978 public void shiftDown(){
@@ -1312,7 +1293,7 @@ public class UnnetBrowserActivity extends FragmentActivity {
13121293 wbsttngs.setSavePassword(false);
13131294 wbsttngs.setLightTouchEnabled(true);
13141295 wbsttngs.setSupportZoom(true);
1315- wbsttngs.setPluginsEnabled(true);
1296+// wbsttngs.setPluginsEnabled(true);
13161297 wbsttngs.setBuiltInZoomControls(shrdprfs.getBoolean("show_zoom", true));
13171298 wbsttngs.setDefaultFontSize(Integer.parseInt(shrdprfs.getString("font_size", "16")));
13181299 wbsttngs.setJavaScriptEnabled(shrdprfs.getBoolean("en_script", false));