# OSChina-Html5-AppCan
**Repository Path**: fokinghsu/OSChina-Html5-AppCan
## Basic Information
- **Project Name**: OSChina-Html5-AppCan
- **Description**: 三胖 开源中国社区 html5 客户端,基于AppCan引擎,支持 Android/iOS 操作系统
- **Primary Language**: Unknown
- **License**: GPL-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2014-02-01
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
## 开源中国社区 html5 客户端项目简析
#### 注1:本项目基于AppCan构建,AppCan支持iOS/Android/Windows phone系统。
#### 注2:由于时间和精力有限,本项目只是个半成品,很多功能未做,我也不知道要做多久才能完成。故发出来起个抛砖引玉的作用,如果你想用AppCan做自己的手机应用,那此项目也许可以给你一定的参考。
### 0、接口BUG
/action/openapi/comment_list 接口BUG,当catalog=2时,page>大于实际页数时也能返回数据,而catalog=1时则正常。导致上拉加载最后一页评论时异常;
/action/openapi/user_information 接口BUG,无论被查询用户与自己的关系如何,relation 值都为3(未关注状态);
OAuth2登录界面错乱好像是因为OSC的授权页面没适配移动版照成的,如果用新浪、腾讯微博的授权界面就是正常的了;
### 1、如何编译项目
AppCan项目必须在其官方在线打包(使用IDE本地打包出来的App会有各种BUG),在线打包方法:http://bbs.appcan.cn/forum.php?mod=viewthread&tid=6439&extra=page%3D1
在线打包时勾选 uexCamera、uexDevice、uexImageBrowser、uexXmlHttpMgr、uexFileMgr 插件
PS:亲们如果要打包,请先到 http://www.oschina.net/openapi/client 申请应用,然后修改 js/config.js 中的 osc_client_id、osc_client_secret、osc_redirect_uri
### 2、如何修改html文件
可直接用文本编辑器修改,或者使用IDE。推荐使用IDE,因为IDE带有模拟器,并且还有调试功能,可以把模拟器和真机中的log实时输出到IED中。http://pan.baidu.com/share/link?shareid=79731&uk=3490056788
### 3、App下载
这是我打包好的,iPhone客户端需要越狱才能安装:http://git.oschina.net/ThinkPHP/OSChina-Html5-AppCan/attach_files
### 4、软件截图




