├── .gitignore ├── AndroidManifest.xml ├── LICENSE ├── README.md ├── assets ├── about.html ├── detail.html ├── izhihu.png ├── logo_about.png ├── logo_about.psd ├── metal.jpg ├── reset-min.css └── zhihu.css ├── libs ├── armeabi │ └── libbspatch.so ├── jcc-bate-0.7.3.jar └── umeng_sdk.jar ├── res ├── anim │ └── refresh_rotate.xml ├── drawable-hdpi │ ├── ic_action_pref.png │ ├── ic_action_refersh.png │ ├── ic_action_search.png │ ├── ic_action_share.png │ ├── ic_action_star.png │ ├── ic_action_star_selected.png │ ├── ic_action_unread.png │ ├── ic_downloading.png │ ├── ic_launcher.png │ ├── ic_tab_list_none_selected.png │ ├── ic_tab_list_selected.png │ ├── ic_tab_star_none_selected.png │ └── ic_tab_star_selected.png ├── drawable-xhdpi │ ├── ic_action_pref.png │ ├── ic_action_refersh.png │ ├── ic_action_search.png │ ├── ic_action_share.png │ ├── ic_action_star.png │ ├── ic_action_star_selected.png │ ├── ic_action_unread.png │ ├── ic_comment.png │ ├── ic_downloading.png │ ├── ic_launcher.png │ ├── ic_tab_list_none_selected.png │ ├── ic_tab_list_selected.png │ ├── ic_tab_star_none_selected.png │ └── ic_tab_star_selected.png ├── drawable │ ├── ic_launcher.png │ ├── ic_tab_list.xml │ ├── ic_tab_star.xml │ ├── light_tab_indicator.xml │ ├── tab_selected.9.png │ └── tab_unselected.9.png ├── layout │ ├── detail.xml │ ├── frag_questions.xml │ ├── gridview.xml │ ├── listview_comment_item.xml │ ├── listview_question_item.xml │ ├── main.xml │ ├── search.xml │ ├── umeng_common_download_notification.xml │ └── view_pages.xml ├── menu │ ├── detail.xml │ └── main.xml ├── values-zh-rCN │ ├── strings.xml │ ├── umeng_common_strings.xml │ └── umeng_update_string.xml ├── values │ ├── arrays.xml │ ├── colors.xml │ ├── constants.xml │ ├── strings.xml │ ├── styles_listview.xml │ ├── themes_light.xml │ ├── umeng_common_strings.xml │ └── umeng_update_string.xml └── xml │ └── preferences.xml └── src └── com └── gracecode └── iZhihu ├── activity ├── About.java ├── BaseActivity.java ├── Comment.java ├── Detail.java ├── Main.java └── Preference.java ├── adapter ├── CommentAdapter.java ├── DetailListsAdapter.java ├── ListPagerAdapter.java └── QuestionsAdapter.java ├── api └── Requester.java ├── dao ├── Comment.java └── Question.java ├── db ├── QuestionsDatabase.java └── ThumbnailsDatabase.java ├── fragment ├── BaseListFragment.java ├── CommentsFragment.java ├── DetailFragment.java ├── PreferencesFragment.java ├── QuestionsGridFragment.java ├── QuestionsListFragment.java ├── ScrollDetailFragment.java ├── ScrollTabsFragment.java └── StaredListFragment.java ├── listener └── MainTabListener.java ├── service └── FetchThumbnailsService.java ├── task ├── BaseTasks.java ├── FetchCommentTask.java ├── FetchQuestionTask.java ├── FetchThumbnailTask.java ├── GetFavouritesTask.java ├── SaveFavouritesTask.java └── SearchQuestionTask.java └── util └── Helper.java /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /*.iml 3 | /.idea 4 | /proguard_logs/ 5 | /nbandroid/ 6 | /proguard.cfg 7 | /build.xml 8 | /*.properties 9 | Thumbs.db 10 | .*.swp 11 | 12 | # built application files 13 | *.apk 14 | *.ap_ 15 | 16 | # files for the dex VM 17 | *.dex 18 | 19 | # Java class files 20 | *.class 21 | 22 | # generated files 23 | bin/ 24 | gen/ 25 | out/ 26 | 27 | # Local configuration file (sdk path, etc) 28 | ./local.properties 29 | proguard-project.txt 30 | 31 | # Eclipse project files 32 | /.classpath 33 | /.project 34 | 35 | /assets/*.ttf 36 | /assets/*.ttc 37 | /assets/*.otf 38 | -------------------------------------------------------------------------------- /AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 24 | 25 | 29 | 30 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 47 | 51 | 54 | 55 | 56 | 57 | 58 | 59 | 63 | 66 | 67 | 72 | 73 | 74 | 78 | 79 | 80 | 81 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 「读知乎」 Android 客户端 2 | 3 | ### _**除非得到知乎官方的允许,这个项目不会再继续了,望大家理解。**_ 4 | 5 | ### 随时随地获得「知乎」最新精选条目! 6 | 7 | 欢迎访问「读知乎」官方站 http://z.ihu.im/ 。 8 | 9 | 「知乎」是一家创立于2011年1月26日的社会化问答网站,产品形态类似于Quora。「知乎」在古汉语里是「知道吗」的意思(取自 维基百科 上的解释)。我个人是「知乎」的重度用户,几乎每天都会访问「知乎」了解些小知识。 10 | 11 | 「知乎」官方已经有 Android 客户端推出。那么已经有了「知乎」 Android 客户端了,为什么还要开发这个应用呢? 12 | 13 | 「读知乎」的出发点和官方客户端是有所不同的,它重点在于让用户在于「读」的体验。「读知乎」没有其他繁杂的功能(甚至连登录都没有),就是为了让您专心阅读每篇精选的「知乎」条目。 14 | 15 | 使用「读知乎」 Android 客户端很简单,安装以后打开就可以阅读了。首次启动需要缓存内容条目和离线图片,所以比较缓慢请耐心等候。同时,推荐使用 Android 4.0 以上版本以及 3G 或者 Wi-fi 网络连接。 16 | 17 | 关键字: 知乎 读知乎 知识 问答 18 | 19 | 20 | ## 常见问题 21 | 22 | ### 为什么有些市场搜不到「读知乎」 23 | 24 | 很遗憾,截至到目前为止(2013年8月2日)「读知乎」数据源方面的版权还没有得到「知乎」官方的肯定,因此在很多市场中看来「读知乎」是「盗版」的。作者以及积极联系了知乎的工作人员,但是还未给予明确的答复,由于编写这个应用是处于个人爱好目的,因此不会在这块方面花费太多的时间。 25 | 26 | 所以,请各位见谅。最新版本的「读知乎」应用版本发布会在 Google Play 以及应用内更新提示。 27 | 28 | ### 为什么不能自动备份我的收藏列表? 29 | 30 | 是的,这个技术上不是问题。需要您手工备份的原因有如下几个: 31 | 32 | 1. 这个功能不是很常用,通常也只是在刷机、重新安装应用等情况的时候使用 33 | 2. 频繁的备份会让我们的服务器造成负担,我们没有多少预算用于扩容服务器 34 | 35 | 所以麻烦您如果需要备份收藏列表的时候手动备份以及恢复,相信这花不了太多的时间。 36 | 37 | ### 为什么启动以后显示「Invalid Timestamp」然后就空白了? 38 | 39 | 出于时效性以及安全考虑,「读知乎」的网络接口需要和本地设备校验当前时间。 40 | 41 | 因此,如果您本地时间不正确的话,服务器会返回错误给您。如果碰到这种情况,请您先调整好您 Android 设备的时间和日期,然后重新运行「读知乎」即可。 42 | 43 | ### 为什么使用简繁体转换的时候「么」会替换成「幺」? 44 | 45 | 简繁体转换使用 jcc https://code.google.com/p/jcc/ 转换类库,可能是原作者出于转换效果的考虑。同时「么」也同「幺」,参见「说文解字」 http://chinese-character.info/content/58.html 。 46 | 47 | 下面转载原文的说明: 48 | 49 | 《簡化字總表》第一表12項註釋:(么[麽])读me轻声。读yāo(夭)的么应作幺(么本字)。麽读mó(摩)时不简化,如幺麽小丑。 50 | 51 | 「幺」才是「么」的本字。例如見《說文解字》。《字鑑》及《字彙》等等辭書,也明言「么」是俗寫。類似地,「麼」(下方為幺)字古時也俗寫成「麽」(下方為么),大陸可能因此將「么」當作「麼」的簡化字。 52 | 以上句段取自該網頁的評論中。 53 | 54 | 附《說文解字》幺「小也。通俗文曰。不長曰幺。細小曰麼。許無麼字。象子初生之形。子初生、甚小也。俗謂一爲幺。亦謂晚生子爲幺。皆謂其小也。於堯切。二部。凡幺之屬皆从幺。」 55 | 56 | 這兩組字區分很清晰,不要被簡化字的用法混淆。 57 | 58 | 59 | ### 如何使用自定义字体(2013年7月9日更新的功能)? 60 | 61 | 「读知乎」支持详情页面的自定义字体,您需要在您的手机闪存卡中放入您喜欢的字体,然后在「设置」中打开「使用自定义字体」的开关,然后分别选择对应的字体即可。目前根据 Android 系统的支持情况,字体文件支持 ttf、ttc、otf、fon 等格式。如果您选择的是非中文字体,那么英文则采用您指定的字体显示,而中文则使用系统默认的中文字体。 62 | 63 | ### 分享以后的条目缩略图保存在哪里? 64 | 65 | 通常我讨厌给用户的 SD 卡中写入很多无关的文件,但我认为如果您觉得这篇条目好用才会去分享,自然而言您也应该会想保存这篇条目。 66 | 67 | 条目的缩略图保存在您外部存储卡(通常称之为 SD 卡)的「图片」目录中,一般名称为每个系统不一样,通常可以认定为「Pictures」目录。当然,在选项中您可以关闭此保存功能,或者干脆使用纯文本的分享。 68 | 69 | ### 为什么目前还是没有分享功能? 70 | 71 | 抱歉,目前(2013年5月11日)就只有我一个人开发「读知乎」的 Android 版本,而我想完成最主要的功能:阅读,然后才开发其他的附加功能。因此请您稍安勿躁,分享功能我会加紧在计划内完成的。 72 | 73 | 2013年5月14日 完成了分享功能 74 | 75 | ### 为什么我的「分享」功能是灰色的 76 | 77 | 生成缩略图并分享的功能需要外置存储卡(例如 SD 卡)的支持,因此如果您的 Android 设备没有位置存储卡,那么就无法使用。 78 | 79 | 在这种情况下,您可以设置选项使用纯文本分享即可使用分享功能。 80 | 81 | ### 缓存文件保存在哪里? 82 | 83 | 很多 Android 程序总是会往用户的扩展卡(例如 SD 卡)中写入缓存等「垃圾文件」,这让我很反感。 84 | 85 | 「读知乎」的缓存文件放在 Android 官方指定的内置缓存目录(Cache Directory)中。我提供了个清除缓存功能选项,同时如果您卸载了「读知乎」那么缓存文件也会被系统一并清理。 86 | 87 | ### 什么是「真正的」中文引号? 88 | 89 | 我想这可能会引起争论,但我们的目标就是能或许更好的阅读和排版,而使用「」以及『』等这些引号将获得最大的识别度,同时这也是众多输入法中(例如百度输入法)默认的。 90 | 91 | 详细更多的信息您可以参考:http://apple4us.com/2011/06/chinese-quotation-mark-etc.html 。 92 | 93 | ### 为什么只支持 Android 4.0 以上的系统? 94 | 95 | 1. Android 4.0 全新的设计以及开发便捷,个人不想在这个应用上加入针对兼容老版本的大量「垃圾」代码(虽然这技术上不是问题)。 96 | 2. 相信使用「知乎」的用户对品质是有所追求的。 97 | 98 | ### 这款应用包含广告代码吗? 99 | 100 | 编写这个应用只是出于个人爱好,所以不包含任何隐形以及显性的盈利性质的第三方代码。 101 | 102 | ### 这款应用会读取通讯录等隐私信息吗? 103 | 104 | 我个人对于收集隐私讯息的事情非常反感,同时我个人的价值观底线告诉我绝对不会做这样的事情。不过为了改进应用,我是用了 友盟(umeng) 服务用于匿名的统计,如果您在意这点您可以在选项中关闭它。 105 | 106 | 107 | ## 更新记录 108 | 109 | 110 | ### 2013-09-27 111 | 112 | * 修改部分界面,使用新的应用图标 113 | 114 | ### 2013-09-04 115 | 116 | * 增加收藏同步备份功能(请君测试) 117 | * 修复部分机型列表无法刷新的错误 118 | 119 | ### 2013-08-30 120 | 121 | * 字体部分优化 122 | * 修复了部分的 Bug 123 | 124 | ### 2013-08-16 125 | 126 | * 整理代码结构 127 | * 清理不需要的 IDE 文件 128 | 129 | ### 2013年8月2日 130 | 131 | * 设置音量翻页键按下去静音 132 | * 增加音量键翻页动画 133 | * 修复部分机型详情翻页崩溃的问题 134 | 135 | ### 2013年8月1日 136 | 137 | * 增加音量键翻页功能 138 | * 增加自动恢复到上次读取的位置功能 139 | 140 | ### 2013年7月28日 141 | 142 | * 修复中文标点替换的问题 143 | 144 | ### 2013年7月24日 145 | 146 | * 增加搜索功能 147 | * 修复分页功能丢失条目的问题 148 | 149 | ### 2013年7月21日 150 | 151 | * 增加跳转客户端的功能 152 | * 修复部分文案方面的错误 153 | 154 | ### 2013年7月11日 155 | 156 | * 优化网络链接,加快请求速度 157 | * 修复自定义字体部分路径无法应用的问题 158 | 159 | ### 2013年7月9日 160 | 161 | * 支持自定义字体阅读 162 | * 修改「捐赠」界面为支付宝的移动版 163 | * 调整界面细节 164 | * 修复部分问题 165 | 166 | ### 2013年6月28日 167 | 168 | ** 欢迎访问「读知乎」官方站 http://z.ihu.im/ ** 169 | 170 | * 修复部分界面方面的问题,增强稳定性 171 | * 数据库操作优化 172 | 173 | ### 2013年6月9日 174 | 175 | * 改进刷新界面,现在刷新可以不被打断了 176 | * 修复分页逻辑错误的问题 177 | * 重构代码,优化列表性能 178 | 179 | ### 2013年5月30日 180 | 181 | * 优化列表,使用上拉载入更多 182 | 183 | ### 2013年5月25日 184 | 185 | * 增加简繁体互换输出功能 186 | 187 | ### 2013年5月24日 188 | 189 | * 优化界面,配色方面调整 190 | * 修复友盟报告的一些错误 191 | 192 | ### 2013年5月16日 193 | 194 | * 现在您可以再详情页中滑动翻阅上一篇、下一篇了!(可以在设置中关闭) 195 | * 修复按下刷新按钮以后,条目列表不会滚动到最上端的问题 196 | 197 | ### 2013年5月14日 198 | 199 | * 增加分享功能,支持系统级别的全局分享 200 | * 增加「屏幕常亮」功能,避免阅读的时候被打断 201 | * 优化代码,体验更流畅 202 | 203 | ### 2013年5月10日 204 | 205 | * 增加离线图片下载功能 206 | * 细调阅读界面 207 | * 修复部分 Bug 208 | 209 | ### 2013年5月7日 210 | 211 | * 增加列表页面手势滑动选项 212 | * 增加详细阅读界面「上次恢复到」选项 213 | * 修复部分 Bug 以及优化性能 214 | 215 | ### 2013年5月6日 216 | 217 | * 更新列表的性能 218 | * 更新阅读界面的样式 219 | * 增加「使用中文引号」选项 220 | 221 | ### 2013年5月4日 222 | 223 | * 完成基本功能 224 | 225 | ### 2013年4月28日 226 | 227 | * 开始编写「读知乎」的代码 228 | 229 | 230 | ## 感谢 231 | 232 | 本应用是免费软件,无任何广告完全无偿使用。如果您能请我喝杯咖啡的话,我会更开心;同时您的名字会在下面的列表中。 233 | 234 | * 感谢 小虎 同学提供的数据接口以及原始文档 235 | * 感谢设计师 Fen 对于应用界面提出的些改造和建议 236 | * 使用 JCC 正簡體字转换工具 https://code.google.com/p/jcc/ 237 | * 使用 https://github.com/chrisbanes/Android-PullToRefresh 下拉刷新控件 238 | * 使用 友盟(umeng.com) 统计工具 239 | 240 | 感谢以下兄弟的捐助和支持(按照捐款时间排序,不定期更新): 241 | 242 | * 乌金一 (jin**@gmail.com) 243 | * 杨志安 (yzh**@foxmail.com) 244 | * 沈超 (she**@qq.com) 245 | * 梁骏峰 (jus**@gmail.com) 246 | 247 | 截至目前(2013年7月11日)累计收到捐助 37.24RMB 整。 248 | 249 | 250 | ## 联系 251 | 252 | * lucky[at]gracecode.com 253 | * Twitter: @feelinglucky 254 | * Weibo: @手气还不错 255 | * http://gracecode.com 256 | * http://zhihu.com/people/mingcheng 257 | 258 | 259 | ## 版权声明 260 | 261 | 「读知乎」程序本身作者拥有著作权,其中数据为「知乎」官方所有。享用任何其中的数据以及其他任何形式的载体,您可能需要阅读「知乎」相关的版权条例,在此不再重复声明。 262 | 263 | 264 | ## 免责声明 265 | 266 | 「读知乎」不反对、不鼓励、不赞成任何其中包含的内容以及任何引导,不对其中「知乎」提供的内容有效性以及准确性负责。不对任何因「读知乎」其中的内容(包括数据、程序本身)造成的任何后果承担任何责任,同时保留解释的权利。 267 | -------------------------------------------------------------------------------- /assets/about.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 |
14 | 15 |
16 | 17 |
18 | 19 | 20 |
21 |

「读知乎」 Android 客户端

22 | 23 |

随时随地获得「知乎」最新精选条目!

24 |
25 | 26 | 27 |

欢迎访问「读知乎」官方站 http://z.ihu.im/ 。

28 | 29 |

「知乎」是一家创立于2011年1月26日的社会化问答网站,产品形态类似于Quora。「知乎」在古汉语里是「知道吗」的意思(取自 维基百科 上的解释)。我个人是「知乎」的重度用户,几乎每天都会访问「知乎」了解些小知识。

30 | 31 |

「知乎」官方已经有 Android 客户端推出。那么已经有了「知乎」 Android 客户端了,为什么还要开发这个应用呢?

32 | 33 |

「读知乎」的出发点和官方客户端是有所不同的,它重点在于让用户在于「读」的体验。「读知乎」没有其他繁杂的功能(甚至连登录都没有),就是为了让您专心阅读每篇精选的「知乎」条目。

34 | 35 |

使用「读知乎」 Android 客户端很简单,安装以后打开就可以阅读了。首次启动需要缓存内容条目和离线图片,所以比较缓慢请耐心等候。同时,推荐使用 Android 4.0 以上版本以及 3G 或者 Wi-fi 网络连接。

36 | 37 |

关键字: 知乎 读知乎 知识 问答

38 | 39 |

常见问题

40 | 41 |

为什么有些市场搜不到「读知乎」

42 | 43 |

很遗憾,截至到目前为止(2013年8月2日)「读知乎」数据源方面的版权还没有得到「知乎」官方的肯定,因此在很多市场中看来「读知乎」是「盗版」的。作者以及积极联系了知乎的工作人员,但是还未给予明确的答复,由于编写这个应用是处于个人爱好目的,因此不会在这块方面花费太多的时间。

44 | 45 |

所以,请各位见谅。最新版本的「读知乎」应用版本发布会在 Google Play 以及应用内更新提示。

46 | 47 |

为什么不能自动备份我的收藏列表?

48 | 49 |

是的,这个技术上不是问题。需要您手工备份的原因有如下几个:

50 | 51 |
    52 |
  1. 这个功能不是很常用,通常也只是在刷机、重新安装应用等情况的时候使用
  2. 53 |
  3. 频繁的备份会让我们的服务器造成负担,我们没有多少预算用于扩容服务器
  4. 54 |
55 | 56 |

所以麻烦您如果需要备份收藏列表的时候手动备份以及恢复,相信这花不了太多的时间。

57 | 58 |

为什么启动以后显示「Invalid Timestamp」然后就空白了?

59 | 60 |

出于时效性以及安全考虑,「读知乎」的网络接口需要和本地设备校验当前时间。

61 | 62 |

因此,如果您本地时间不正确的话,服务器会返回错误给您。如果碰到这种情况,请您先调整好您 Android 设备的时间和日期,然后重新运行「读知乎」即可。

63 | 64 |

为什么使用简繁体转换的时候「么」会替换成「幺」?

65 | 66 |

简繁体转换使用 jcc https://code.google.com/p/jcc/ 转换类库,可能是原作者出于转换效果的考虑。同时「么」也同「幺」,参见「说文解字」 http://chinese-character.info/content/58.html 。

67 | 68 |

下面转载原文的说明:

69 | 70 |
《簡化字總表》第一表12項註釋:(么[麽])读me轻声。读yāo(夭)的么应作幺(么本字)。麽读mó(摩)时不简化,如幺麽小丑。
 71 | 
 72 | 「幺」才是「么」的本字。例如見《說文解字》。《字鑑》及《字彙》等等辭書,也明言「么」是俗寫。類似地,「麼」(下方為幺)字古時也俗寫成「麽」(下方為么),大陸可能因此將「么」當作「麼」的簡化字。
 73 | 以上句段取自該網頁的評論中。
 74 | 
 75 | 附《說文解字》幺「小也。通俗文曰。不長曰幺。細小曰麼。許無麼字。象子初生之形。子初生、甚小也。俗謂一爲幺。亦謂晚生子爲幺。皆謂其小也。於堯切。二部。凡幺之屬皆从幺。」
 76 | 
 77 | 這兩組字區分很清晰,不要被簡化字的用法混淆。
 78 | 
79 | 80 |

如何使用自定义字体(2013年7月9日更新的功能)?

81 | 82 |

「读知乎」支持详情页面的自定义字体,您需要在您的手机闪存卡中放入您喜欢的字体,然后在「设置」中打开「使用自定义字体」的开关,然后分别选择对应的字体即可。目前根据 Android 系统的支持情况,字体文件支持 ttf、ttc、otf、fon 等格式。如果您选择的是非中文字体,那么英文则采用您指定的字体显示,而中文则使用系统默认的中文字体。

83 | 84 |

分享以后的条目缩略图保存在哪里?

85 | 86 |

通常我讨厌给用户的 SD 卡中写入很多无关的文件,但我认为如果您觉得这篇条目好用才会去分享,自然而言您也应该会想保存这篇条目。

87 | 88 |

条目的缩略图保存在您外部存储卡(通常称之为 SD 卡)的「图片」目录中,一般名称为每个系统不一样,通常可以认定为「Pictures」目录。当然,在选项中您可以关闭此保存功能,或者干脆使用纯文本的分享。

89 | 90 |

为什么目前还是没有分享功能?

91 | 92 |

抱歉,目前(2013年5月11日)就只有我一个人开发「读知乎」的 Android 版本,而我想完成最主要的功能:阅读,然后才开发其他的附加功能。因此请您稍安勿躁,分享功能我会加紧在计划内完成的。

93 | 94 |

2013年5月14日 完成了分享功能

95 | 96 |

为什么我的「分享」功能是灰色的

97 | 98 |

生成缩略图并分享的功能需要外置存储卡(例如 SD 卡)的支持,因此如果您的 Android 设备没有位置存储卡,那么就无法使用。

99 | 100 |

在这种情况下,您可以设置选项使用纯文本分享即可使用分享功能。

101 | 102 |

缓存文件保存在哪里?

103 | 104 |

很多 Android 程序总是会往用户的扩展卡(例如 SD 卡)中写入缓存等「垃圾文件」,这让我很反感。

105 | 106 |

「读知乎」的缓存文件放在 Android 官方指定的内置缓存目录(Cache Directory)中。我提供了个清除缓存功能选项,同时如果您卸载了「读知乎」那么缓存文件也会被系统一并清理。

107 | 108 |

什么是「真正的」中文引号?

109 | 110 |

我想这可能会引起争论,但我们的目标就是能或许更好的阅读和排版,而使用「」以及『』等这些引号将获得最大的识别度,同时这也是众多输入法中(例如百度输入法)默认的。

111 | 112 |

详细更多的信息您可以参考:http://apple4us.com/2011/06/chinese-quotation-mark-etc.html 。

113 | 114 |

为什么只支持 Android 4.0 以上的系统?

115 | 116 |
    117 |
  1. Android 4.0 全新的设计以及开发便捷,个人不想在这个应用上加入针对兼容老版本的大量「垃圾」代码(虽然这技术上不是问题)。
  2. 118 |
  3. 相信使用「知乎」的用户对品质是有所追求的。
  4. 119 |
120 | 121 |

这款应用包含广告代码吗?

122 | 123 |

编写这个应用只是出于个人爱好,所以不包含任何隐形以及显性的盈利性质的第三方代码。

124 | 125 |

这款应用会读取通讯录等隐私信息吗?

126 | 127 |

我个人对于收集隐私讯息的事情非常反感,同时我个人的价值观底线告诉我绝对不会做这样的事情。不过为了改进应用,我是用了 友盟(umeng) 服务用于匿名的统计,如果您在意这点您可以在选项中关闭它。

128 | 129 |

更新记录

130 | 131 |

2013-09-04

132 | 133 | 137 | 138 |

2013-08-30

139 | 140 | 144 | 145 |

2013-08-16

146 | 147 | 151 | 152 |

2013年8月2日

153 | 154 | 159 | 160 |

2013年8月1日

161 | 162 | 166 | 167 |

2013年7月28日

168 | 169 | 172 | 173 |

2013年7月24日

174 | 175 | 179 | 180 |

2013年7月21日

181 | 182 | 186 | 187 |

2013年7月11日

188 | 189 | 193 | 194 |

2013年7月9日

195 | 196 | 202 | 203 |

2013年6月28日

204 | 205 |

* 欢迎访问「读知乎」官方站 http://z.ihu.im/ *

206 | 207 | 211 | 212 |

2013年6月9日

213 | 214 | 219 | 220 |

2013年5月30日

221 | 222 | 225 | 226 |

2013年5月25日

227 | 228 | 231 | 232 |

2013年5月24日

233 | 234 | 238 | 239 |

2013年5月16日

240 | 241 | 245 | 246 |

2013年5月14日

247 | 248 | 253 | 254 |

2013年5月10日

255 | 256 | 261 | 262 |

2013年5月7日

263 | 264 | 269 | 270 |

2013年5月6日

271 | 272 | 277 | 278 |

2013年5月4日

279 | 280 | 283 | 284 |

2013年4月28日

285 | 286 | 289 | 290 |

感谢

291 | 292 |

本应用是免费软件,无任何广告完全无偿使用。如果您能请我喝杯咖啡的话,我会更开心;同时您的名字会在下面的列表中。

293 | 294 | 301 | 302 |

感谢以下兄弟的捐助和支持(按照捐款时间排序,不定期更新):

303 | 304 | 310 | 311 |

截至目前(2013年7月11日)累计收到捐助 37.24RMB 整。

312 | 313 |

联系

314 | 315 | 322 | 323 |

版权声明

324 | 325 |

「读知乎」程序本身作者拥有著作权,其中数据为「知乎」官方所有。享用任何其中的数据以及其他任何形式的载体,您可能需要阅读「知乎」相关的版权条例,在此不再重复声明。

326 | 327 |

免责声明

328 | 329 |

「读知乎」不反对、不鼓励、不赞成任何其中包含的内容以及任何引导,不对其中「知乎」提供的内容有效性以及准确性负责。不对任何因「读知乎」其中的内容(包括数据、程序本身)造成的任何后果承担任何责任,同时保留解释的权利。

330 | 331 |

-- EOF --

332 | 333 |
334 |
335 |
336 |
337 |
338 | 339 | 340 | -------------------------------------------------------------------------------- /assets/detail.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 24 | 25 | 26 |
27 |

%s

28 |
%s
29 |
30 |
31 |

%s

32 |
%s
33 |
34 |
35 | 36 | 37 | -------------------------------------------------------------------------------- /assets/izhihu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/assets/izhihu.png -------------------------------------------------------------------------------- /assets/logo_about.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/assets/logo_about.png -------------------------------------------------------------------------------- /assets/logo_about.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/assets/logo_about.psd -------------------------------------------------------------------------------- /assets/metal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/assets/metal.jpg -------------------------------------------------------------------------------- /assets/reset-min.css: -------------------------------------------------------------------------------- 1 | body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td{margin:0;padding:0;}body,button,input,select,textarea{font:12px/1.5 helvetica,tahoma,arial,sans-serif;}@media screen and(-webkit-min-device-pixel-ratio:0){html body,button,input,select,textarea{font-family:'Helvetica Neue',Helvetica,Tahoma,Arial,sans-serif;}}@-moz-document url-prefix(){html body,button,input,select,textarea{font-family:'Helvetica Neue',Helvetica,Tahoma,Arial,sans-serif;}}h1,h2,h3,h4,h5,h6{font-size:100%;}address,cite,dfn,em,var{font-style:normal;}code,kbd,pre,samp{font-family:courier new,courier,monospace;}small{font-size:12px;}ul,ol{list-style:none;}a{text-decoration:none;}a:hover{text-decoration:underline;}legend{color:#000;}fieldset,img{border:0;}button,input,select,textarea{font-size:100%;}table{border-collapse:collapse;border-spacing:0;} -------------------------------------------------------------------------------- /assets/zhihu.css: -------------------------------------------------------------------------------- 1 | /* vim: set et sw=4 ts=4 sts=4 ft=css fdm=marker ff=unix fenc=utf8 nobomb: */ 2 | /** 3 | * @author mingcheng 4 | * @date 2013-05-03 5 | * @link http://www.gracecode.com/ 6 | */ 7 | 8 | 9 | @font-face { 10 | font-family: XinGothic; 11 | src: url("file:///android_asset/XinGothic.otf"); 12 | } 13 | 14 | @font-face { 15 | font-family: XinGothic; 16 | font-weight: bold; 17 | src: url("file:///android_asset/XinGothic-Bold.otf"); 18 | } 19 | 20 | * { 21 | word-wrap: break-word; 22 | word-break: break-all; 23 | } 24 | 25 | body { 26 | font-family: XinGothic; 27 | background: #eee9e9 url(file:///android_asset/metal.jpg) repeat; 28 | text-shadow: 0 1px 0 #fff5ee; 29 | font-size: 1em; 30 | color: #333; 31 | line-height: 1.5em; 32 | padding: 0px; 33 | margin: 0px; 34 | } 35 | 36 | a { 37 | color: #111; 38 | text-decoration:none; 39 | border-bottom: 1px dotted #333; 40 | } 41 | 42 | u, underline { 43 | text-decoration:none; 44 | border-bottom: 1px solid #777; 45 | } 46 | 47 | ul, ol { 48 | margin: 0; 49 | padding: 5px 0; 50 | list-style-position: inside; 51 | } 52 | 53 | sup { 54 | border-left: 2px solid #999; 55 | padding: 5px 0 5px 10px; 56 | display: block; 57 | vertical-align: baseline; 58 | font-size: 1em; 59 | } 60 | 61 | sup img { 62 | max-width: 280px; 63 | } 64 | 65 | blockquote { 66 | margin: 10px 0; 67 | padding-left: 10px; 68 | border-left: 2px solid #999; 69 | font-size: .9em; 70 | color: #666; 71 | } 72 | 73 | hr { 74 | margin: 0; 75 | border-width: 0; 76 | } 77 | 78 | 79 | body a, 80 | body a:hover, 81 | body a:active { 82 | text-decoration: none; 83 | } 84 | 85 | body .title { 86 | padding: 1em 1em 0 1em; 87 | } 88 | 89 | body .title h1 { 90 | font-size: 1.2em; 91 | color: #111; 92 | padding: 0 0 1em 0; 93 | } 94 | 95 | body .title .question_description { 96 | color: #777; 97 | padding: 0em; 98 | font-size: .9em; 99 | margin: 0; 100 | } 101 | 102 | 103 | body .question { 104 | padding: .5em 1em 1em 1em; 105 | } 106 | 107 | body .question p { 108 | line-height: 1.6em; 109 | margin: 0 0 1.5em 0; 110 | } 111 | 112 | body .title img , 113 | body .question img { 114 | max-width: 95%; 115 | border: 1px solid #ccc; 116 | padding: .2em; 117 | background: #fff; 118 | display: block; 119 | margin: .5em auto; 120 | border-radius: 3px; 121 | } 122 | 123 | body .question ul , 124 | body .question ol { 125 | margin-left: 1.2em; 126 | } 127 | 128 | body .question ul { 129 | list-style: square; 130 | } 131 | 132 | body .question ol { 133 | 134 | list-style: decimal; 135 | } 136 | 137 | body .question img { 138 | } 139 | 140 | body .question a, 141 | body .question a:link { 142 | border-bottom: 1px dotted #999; 143 | white-space: wrap-all; 144 | } 145 | 146 | 147 | .user_name { 148 | border-top: 3px double #ccc; 149 | padding: .5em 0 2.5em 0; 150 | font-size: .8em; 151 | color: #999; 152 | } 153 | 154 | .update-at { 155 | display: none; 156 | } 157 | 158 | .end { 159 | width: 113px; 160 | height: 40px; 161 | background: url(file:///android_asset/izhihu.png) no-repeat center; 162 | margin: 1.5em auto 1em auto; 163 | background-size: 113px 40px; 164 | opacity: .9; 165 | } 166 | 167 | .logo { 168 | width: 128px; 169 | height: 145px; 170 | background: url(file:///android_asset/logo_about.png) no-repeat center; 171 | margin: 1em auto 1em auto; 172 | background-size: 128px 145px; 173 | opacity: .9; 174 | } 175 | 176 | 177 | .about { 178 | 179 | } 180 | 181 | .about .end { 182 | margin: 1em auto 2em; 183 | } 184 | 185 | /* 186 | .about h1 , 187 | .about h2 , 188 | .about h3 { 189 | font-weight: normal; 190 | } 191 | */ 192 | 193 | .about h1 { 194 | font-size: 1.3em; 195 | } 196 | 197 | .about h2 { 198 | font-size: 1.2em; 199 | } 200 | 201 | .about h3 { 202 | font-size: 1.1em; 203 | } 204 | 205 | .about h2, 206 | .about h3 { 207 | margin: 1em 0 1em 0; 208 | } 209 | 210 | .about center p { 211 | text-align: center; 212 | } 213 | 214 | .about h4 { 215 | margin: 1.5em auto .5em; 216 | } 217 | 218 | .about ul { 219 | list-style: square; 220 | margin-left: 1.5em; 221 | } 222 | 223 | .about dl { 224 | margin-left: 1em; 225 | } 226 | 227 | .about dd { 228 | margin: .5em 0 .5em 1em; 229 | } 230 | 231 | .indent p { 232 | text-indent: 1em; 233 | } 234 | 235 | .tiny { 236 | font-size: 12px; 237 | } 238 | 239 | .small { 240 | font-size: 15px; 241 | } 242 | 243 | .normal { 244 | font-size: 18px; 245 | } 246 | 247 | .big { 248 | font-size: 21px; 249 | } 250 | 251 | .huge { 252 | font-size: 24px; 253 | } 254 | 255 | -------------------------------------------------------------------------------- /libs/armeabi/libbspatch.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/libs/armeabi/libbspatch.so -------------------------------------------------------------------------------- /libs/jcc-bate-0.7.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/libs/jcc-bate-0.7.3.jar -------------------------------------------------------------------------------- /libs/umeng_sdk.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/libs/umeng_sdk.jar -------------------------------------------------------------------------------- /res/anim/refresh_rotate.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 11 | -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_action_pref.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable-hdpi/ic_action_pref.png -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_action_refersh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable-hdpi/ic_action_refersh.png -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_action_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable-hdpi/ic_action_search.png -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_action_share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable-hdpi/ic_action_share.png -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_action_star.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable-hdpi/ic_action_star.png -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_action_star_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable-hdpi/ic_action_star_selected.png -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_action_unread.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable-hdpi/ic_action_unread.png -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_downloading.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable-hdpi/ic_downloading.png -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_tab_list_none_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable-hdpi/ic_tab_list_none_selected.png -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_tab_list_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable-hdpi/ic_tab_list_selected.png -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_tab_star_none_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable-hdpi/ic_tab_star_none_selected.png -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_tab_star_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable-hdpi/ic_tab_star_selected.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_action_pref.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable-xhdpi/ic_action_pref.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_action_refersh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable-xhdpi/ic_action_refersh.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_action_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable-xhdpi/ic_action_search.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_action_share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable-xhdpi/ic_action_share.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_action_star.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable-xhdpi/ic_action_star.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_action_star_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable-xhdpi/ic_action_star_selected.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_action_unread.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable-xhdpi/ic_action_unread.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_comment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable-xhdpi/ic_comment.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_downloading.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable-xhdpi/ic_downloading.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_tab_list_none_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable-xhdpi/ic_tab_list_none_selected.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_tab_list_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable-xhdpi/ic_tab_list_selected.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_tab_star_none_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable-xhdpi/ic_tab_star_none_selected.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_tab_star_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable-xhdpi/ic_tab_star_selected.png -------------------------------------------------------------------------------- /res/drawable/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable/ic_tab_list.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /res/drawable/ic_tab_star.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /res/drawable/light_tab_indicator.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | 9 | 10 | 11 | 13 | 15 | 16 | 17 | 18 | 20 | 22 | 23 | 24 | 26 | 28 | 29 | -------------------------------------------------------------------------------- /res/drawable/tab_selected.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable/tab_selected.9.png -------------------------------------------------------------------------------- /res/drawable/tab_unselected.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingcheng/iZhihu/b3c7618645a5b0739512d388039e5c5c476ac5cd/res/drawable/tab_unselected.9.png -------------------------------------------------------------------------------- /res/layout/detail.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /res/layout/frag_questions.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 11 | 12 | -------------------------------------------------------------------------------- /res/layout/gridview.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12 | 13 | -------------------------------------------------------------------------------- /res/layout/listview_comment_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 17 | 18 | 25 | 26 | 34 | 35 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /res/layout/listview_question_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 12 | 13 | 19 | 20 | 27 | 28 | -------------------------------------------------------------------------------- /res/layout/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /res/layout/search.xml: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /res/layout/umeng_common_download_notification.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 11 | 12 | 20 | 21 | 26 | 27 | 34 | 35 | 36 | 43 | 44 | 54 | 55 |