Skip to content

Commit

Permalink
0.6.7/230102
Browse files Browse the repository at this point in the history
  • Loading branch information
EcRal5t committed Jan 2, 2023
1 parent 94ff237 commit ce339c6
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ An android version of [Jyutdict](https://www.jyutdict.org)
Using APIs provided by [API List](https://www.jyutdict.org/api/)

可檢索:通語字+音和泛粵字表中的錔字+綜合音+各地音(若有)+釋義,詳見 [關於泛粵大典](https://www.jyutdict.org/about)
各資料來源見應用內的說明頁,或"./app/src/main/assets/info/info.html"
各資料來源見 [應用內的說明頁](https://github.com/JyutdictEB/Jyutdict-Android/blob/master/app/src/main/assets/info/info.html)

## 版本歷史 ##
### v0.6.7/230102
全面使用 HTTPS(原使用 HTTP 部分與上行傳輸無關)
*舊版本不再可用*

### v0.6.6/220811
+ 修復:查音崩潰
+ 改進數處顯示
Expand Down
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId "cc.ecisr.jyutdict"
minSdkVersion 14
targetSdkVersion 30
versionCode 66
versionName "0.6.6"
versionCode 67
versionName "0.6.7"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand All @@ -28,7 +28,7 @@ android {

dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'androidx.appcompat:appcompat:1.2.0'
// implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'androidx.preference:preference:1.1.1'
testImplementation 'junit:junit:4.12'
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/cc/ecisr/jyutdict/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ private void setLocationsAdapter() {
isPrepared = true;
query.setHandler(mainHandler);
} else {
query.setUrl("http://jyutdict.org/api/v0.9/sheet?query=&header")
query.setUrl(URL_API_ROOT + "sheet?query=&header")
.setHandler(mainHandler, INITIALIZE_LOCATIONS);
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/cc/ecisr/jyutdict/SettingsActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ protected void onCreate(Bundle savedInstanceState) {
btnCheckVersion.setText(getResources().getString(R.string.app_version, v0This, v1This, v2This));
btnCheckVersion.setOnLongClickListener(v -> { // 獲取地名列表
new HttpUtil(HttpUtil.GET)
.setUrl("http://jyutdict.org/api/")
.setUrl("https://jyutdict.org/api/")
.setHandler(mHandler, EnumConst.CHECKING_VERSION)
.start();
ToastUtil.msg(SettingsActivity.this, getResources().getString(R.string.tips_version_checking));
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<string name="app_version">當前版本:%1$d.%2$d.%3$d\n長按此處檢測新版本</string>
<string name="app_version_0">0</string>
<string name="app_version_1">6</string>
<string name="app_version_2">5</string>
<string name="app_version_2">7</string>
<string name="app_about">泛粵大典附屬應用 by EcisRhetha\nwww.jyutdict.org</string>

<string name="syllable_initial">聲母</string>
Expand Down

0 comments on commit ce339c6

Please sign in to comment.