Skip to content
This repository has been archived by the owner on Sep 3, 2019. It is now read-only.

mcxiaoke/fanfouapp-opensource

Repository files navigation

饭否Android客户端开源版


最新说明:

这个项目早就没有更新了,界面也比较陈旧,无论是学习还是修改自用都不是很合适,建议使用蘑菇饭项目的源码,地址是:

https://github.com/mcxiaoke/minicat


Introduction

饭否Android客户端是饭否官方开发和维护的Android客户端2011年9月1日发布1.0版,2012年1月16日发布1.8.8版,此后由于各种原因没有进行功能更新,2013年3月我抽出时间增加了几项功能,于2013年3月21日发布了1.9.1版,之后可能没有时间继续开发

征得饭否创始人王兴同意后,将项目代码采用Apache License, Version 2.0开源

感谢王兴创建了饭否,感谢所有曾经的饭否员工,感谢所有饭否用户,感谢所有支持和热爱饭否的人


Project

饭否Android客户端采用标准Android项目结构:

    项目的包名已修改为com.fanfou.app.opensource,可以和原版共存
    项目不包含饭否的OAuth API KEY,请自行添加
    项目不包含饭否的LOGO和1.9.1版的图片滤镜功能
    项目不包含签名用的KeyStore,请自行发布添加
    项目采用UTF-8编码,请修改Eclipse的项目设置

Usage

###API KEY 在进行修改和编译之前,请找到main/app/res/values/api.xml文件,在里面填入你申请的饭否OAuth API KEY 如果没有,可以去(http://fanfou.com/apps)申请

###使用Gradle+Android Studio (2014.05.24添加) 目前只支持使用Gradle构建,直接项目目录运行./gradlew clean build即可, (Windows用户使用 gradlew.bat clean build) 也可以直接使用Android Studio打开项目根目录的build.gradle
(需要Gradle 1.11以上,Android Studio 0.8.0以上)

###使用Eclipse (不再支持) 直接使用File->Import导入pulltorefresh和app两个项目,Clean&Build即可 如果需要导出release版,请用自己创建的KeyStore签名

###使用ANT (不再支持) 配置好ANT后,终端进入main/app目录,输入命令ant debug 如果要构建release版,需要在main/app/ant.properties里面填写keystore相关的配置,然后输入命令ant release

###使用Maven (不再支持) 只支持Maven 3.0以上的版本 配置好Maven后,终端进入main/app目录,输入命令mvn clean install


Others

1. 此项目开源后不会增加新功能,有功能需求请自行fork修改
2. 有问题可以在https://github.com/mcxiaoke/fanfouapp/issues提
3. 欢迎Pull Request,代码采用Eclipse四空格缩进格式

Developed By

Xiaoke Zhang (@mcxiaoke)

Websites

饭否官网 http://fanfou.com
饭否创始人王兴 http://fanfou.com/wangxing
Android客户端 http://apps.fanfou.com/android/
API KEY申请 http://fanfou.com/apps
饭否API文档 https://github.com/FanfouAPI/FanFouAPIDoc/wiki

关于作者

联系方式

开源项目


License

Copyright 2013 - 2015 Xiaoke Zhang
Copyright 2011-2012 fanfou.com mcxiaoke  

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Releases

No releases published

Packages

No packages published

Languages