├── .classpath ├── .gitignore ├── .project ├── .settings ├── org.eclipse.core.resources.prefs └── org.eclipse.jdt.core.prefs ├── AndroidManifest.xml ├── LICENSE ├── README.md ├── assets ├── databases │ └── mcpdict.zip └── help │ ├── context_menu.png │ ├── ex_da_ren.png │ ├── ex_gu.png │ ├── ex_gwon.png │ ├── ex_hak.png │ ├── ex_le.png │ ├── ex_liang.png │ ├── ex_xin.png │ ├── favorite.png │ ├── ic_overflow.png │ └── index.htm ├── bin └── MCPDict.apk ├── libs ├── android-sqlite-asset-helper.jar └── android-support-v4.jar ├── proguard-project.txt ├── project.properties ├── res ├── drawable │ ├── ic_alert.png │ ├── ic_cancel.png │ ├── ic_edit.png │ ├── ic_error.png │ ├── ic_info.png │ ├── ic_question.png │ ├── ic_search.png │ ├── ic_star_white.png │ ├── ic_star_yellow.png │ ├── lang_ct.png │ ├── lang_jp_go.png │ ├── lang_jp_kan.png │ ├── lang_jp_kwan.png │ ├── lang_jp_other.png │ ├── lang_jp_tou.png │ ├── lang_kr.png │ ├── lang_mc.png │ ├── lang_mn.png │ ├── lang_pu.png │ ├── lang_sh.png │ └── lang_vn.png ├── layout-land │ └── dictionary_fragment.xml ├── layout │ ├── custom_search_view.xml │ ├── custom_spinner_dropdown_item.xml │ ├── dictionary_fragment.xml │ ├── favorite_fragment.xml │ ├── favorite_item.xml │ ├── help_activity.xml │ ├── main_activity.xml │ ├── search_result_fragment.xml │ ├── search_result_item.xml │ └── settings_activity.xml ├── menu │ ├── favorite_manage_popup_menu.xml │ ├── main_menu.xml │ └── search_result_context_menu.xml ├── mipmap-hdpi │ └── ic_launcher.png ├── mipmap-mdpi │ └── ic_launcher.png ├── mipmap-xhdpi │ └── ic_launcher.png ├── mipmap-xxhdpi │ └── ic_launcher.png ├── raw │ ├── orthography_ct_finals.tsv │ ├── orthography_ct_initials.tsv │ ├── orthography_hz_variants.txt │ ├── orthography_jp.tsv │ ├── orthography_mc_bieng_sjyix.tsv │ ├── orthography_mc_finals.tsv │ ├── orthography_mc_initials.tsv │ ├── orthography_pu_bopomofo.tsv │ ├── orthography_pu_pinyin.tsv │ └── orthography_vn.tsv ├── values-land │ └── strings.xml ├── values │ ├── strings.xml │ └── styles.xml └── xml │ └── preferences.xml └── src ├── com └── mobiRic │ └── ui │ └── widget │ └── Boast.java └── maigosoft └── mcpdict ├── ActivityWithOptionsMenu.java ├── CustomListPreference.java ├── CustomSearchView.java ├── DictionaryFragment.java ├── FavoriteCursorAdapter.java ├── FavoriteDialogs.java ├── FavoriteFragment.java ├── FileUtils.java ├── HelpActivity.java ├── MCPDatabase.java ├── MainActivity.java ├── Masks.java ├── Orthography.java ├── RefreshableFragment.java ├── SearchResultCursorAdapter.java ├── SearchResultFragment.java ├── SettingsActivity.java ├── SettingsFragment.java └── UserDatabase.java /.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | bin/* 2 | !bin/MCPDict.apk 3 | gen 4 | prepare 5 | publish 6 | jarlist.cache 7 | lint.xml 8 | pretty.py 9 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | MCPDict 4 | 5 | 6 | 7 | 8 | 9 | com.android.ide.eclipse.adt.ResourceManagerBuilder 10 | 11 | 12 | 13 | 14 | com.android.ide.eclipse.adt.PreCompilerBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javabuilder 20 | 21 | 22 | 23 | 24 | com.android.ide.eclipse.adt.ApkBuilder 25 | 26 | 27 | 28 | 29 | 30 | com.android.ide.eclipse.adt.AndroidNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/=UTF-8 3 | -------------------------------------------------------------------------------- /.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 4 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 5 | org.eclipse.jdt.core.compiler.compliance=1.7 6 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 7 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 8 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 9 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 10 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 11 | org.eclipse.jdt.core.compiler.source=1.7 12 | -------------------------------------------------------------------------------- /AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 16 | 17 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 31 | 32 | 33 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Yun Wang (Maigo) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # MCPDict: 漢字古今中外讀音查詢 2 | 3 | 這是一個Android應用程序,可以查詢漢字在古今中外多種語言中的讀音(包括中古漢語、普通話、粵語、吳語(上海話)、閩南語、朝鮮語、越南語、日語),也可以通過這些語言中的讀音來反查漢字。 4 | 5 | ## 版本歷史 6 | 7 | ### V3.0 (2016.05.03) 8 | 添加功能:
9 | 1) 添加吳語(上海話)及閩南語讀音;
10 | 2) 添加《平水韻》韻部;
11 | 3) 添加生字本導出、導入功能。
12 | 大幅修訂簡繁、異體轉換表。
13 | 不再支持Android 4.0以下版本。
14 | 15 | ### V2.1 (2015.03.24) 16 | 支持用注音符號輸入和顯示普通話讀音。
17 | 18 | ### V2.0.1 (2015.03.09) 19 | 去掉了236個日本國字因數據庫處理失誤產生的錯誤音讀。
20 | 給“畠”字增加了普通話讀音tián。
21 | 22 | ### V2.0 (2015.02.07) 23 | 添加功能:
24 | 1) 添加了複製漢字讀音的功能;
25 | 2) 添加了生字本功能;
26 | 修訂數據庫:
27 | 1) 改用poem的《廣韻字音表》(2014年9月30日版)作爲中古音數據庫;
28 | 2) 更新了越南語讀音數據庫;
29 | 3) 修正了簡繁、異體字轉換表中的個別條目。
30 | 31 | ### V1.3 (2014.11.24) 32 | 兼容低版本的Android(最低支持版本由3.0改爲1.6,但僅在2.2上做過測試)。 33 | 34 | ### V1.2.1 (2014.08.04) 35 | 修正了普通話音節“lü蔓nüè”的錯誤顯示。 36 | 37 | ### V1.2 (2014.07.30) 38 | 精簡了簡繁、異體字轉換表的格式,減小了程序體積。
39 | 對漢字音數據庫做了如下修正:
40 | 1) 粵語:增加了一些字的異讀音(它們在粵語審音配詞字庫中被錯誤地標爲自身的異讀);
41 | 2) 日語:加粗了“双雙搭撘踏”幾字的吳音(它們本在常用漢字表中,但因爲歷史假名遣與漢音不同,原數據庫中未加粗);
42 | 3) 朝鮮語:去掉了“娘怒拏異异笝諾诺”幾字由頭音法則滋生的錯誤讀音;
43 | 4) 越南語:增加了“贇赟”兩字的讀音。
44 | 45 | ### V1.1 (2014.04.16) 46 | 在以“漢字”模式查詢,並勾選“簡繁、異體轉換”選項時,簡繁、異體字下方會用灰色括號顯示它對應着查詢的哪一個字。 47 | 48 | ### V1.0 (2014.04.02) 49 | 初始版本 50 | -------------------------------------------------------------------------------- /assets/databases/mcpdict.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/assets/databases/mcpdict.zip -------------------------------------------------------------------------------- /assets/help/context_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/assets/help/context_menu.png -------------------------------------------------------------------------------- /assets/help/ex_da_ren.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/assets/help/ex_da_ren.png -------------------------------------------------------------------------------- /assets/help/ex_gu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/assets/help/ex_gu.png -------------------------------------------------------------------------------- /assets/help/ex_gwon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/assets/help/ex_gwon.png -------------------------------------------------------------------------------- /assets/help/ex_hak.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/assets/help/ex_hak.png -------------------------------------------------------------------------------- /assets/help/ex_le.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/assets/help/ex_le.png -------------------------------------------------------------------------------- /assets/help/ex_liang.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/assets/help/ex_liang.png -------------------------------------------------------------------------------- /assets/help/ex_xin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/assets/help/ex_xin.png -------------------------------------------------------------------------------- /assets/help/favorite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/assets/help/favorite.png -------------------------------------------------------------------------------- /assets/help/ic_overflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/assets/help/ic_overflow.png -------------------------------------------------------------------------------- /bin/MCPDict.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/bin/MCPDict.apk -------------------------------------------------------------------------------- /libs/android-sqlite-asset-helper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/libs/android-sqlite-asset-helper.jar -------------------------------------------------------------------------------- /libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/libs/android-support-v4.jar -------------------------------------------------------------------------------- /proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-19 15 | -------------------------------------------------------------------------------- /res/drawable/ic_alert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/res/drawable/ic_alert.png -------------------------------------------------------------------------------- /res/drawable/ic_cancel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/res/drawable/ic_cancel.png -------------------------------------------------------------------------------- /res/drawable/ic_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/res/drawable/ic_edit.png -------------------------------------------------------------------------------- /res/drawable/ic_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/res/drawable/ic_error.png -------------------------------------------------------------------------------- /res/drawable/ic_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/res/drawable/ic_info.png -------------------------------------------------------------------------------- /res/drawable/ic_question.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/res/drawable/ic_question.png -------------------------------------------------------------------------------- /res/drawable/ic_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/res/drawable/ic_search.png -------------------------------------------------------------------------------- /res/drawable/ic_star_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/res/drawable/ic_star_white.png -------------------------------------------------------------------------------- /res/drawable/ic_star_yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/res/drawable/ic_star_yellow.png -------------------------------------------------------------------------------- /res/drawable/lang_ct.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/res/drawable/lang_ct.png -------------------------------------------------------------------------------- /res/drawable/lang_jp_go.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/res/drawable/lang_jp_go.png -------------------------------------------------------------------------------- /res/drawable/lang_jp_kan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/res/drawable/lang_jp_kan.png -------------------------------------------------------------------------------- /res/drawable/lang_jp_kwan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/res/drawable/lang_jp_kwan.png -------------------------------------------------------------------------------- /res/drawable/lang_jp_other.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/res/drawable/lang_jp_other.png -------------------------------------------------------------------------------- /res/drawable/lang_jp_tou.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/res/drawable/lang_jp_tou.png -------------------------------------------------------------------------------- /res/drawable/lang_kr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/res/drawable/lang_kr.png -------------------------------------------------------------------------------- /res/drawable/lang_mc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/res/drawable/lang_mc.png -------------------------------------------------------------------------------- /res/drawable/lang_mn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/res/drawable/lang_mn.png -------------------------------------------------------------------------------- /res/drawable/lang_pu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/res/drawable/lang_pu.png -------------------------------------------------------------------------------- /res/drawable/lang_sh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/res/drawable/lang_sh.png -------------------------------------------------------------------------------- /res/drawable/lang_vn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MaigoAkisame/MCPDict/30ca984e5fbf6b36073e6c43af7ad265ee052c78/res/drawable/lang_vn.png -------------------------------------------------------------------------------- /res/layout-land/dictionary_fragment.xml: -------------------------------------------------------------------------------- 1 | 10 | 11 | 14 | 15 | 17 | 21 | 23 | 24 | 25 | 27 | 31 | 33 | 34 | 35 | 38 | 42 | 47 | 48 | 49 | 51 | 56 | 57 | 58 | 61 | 66 | 67 | 68 | 69 | 70 | 76 | 77 | 84 | 85 | 86 | -------------------------------------------------------------------------------- /res/layout/custom_search_view.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 |