Giter VIP home page Giter VIP logo

book's Introduction

本地电子书

一款干净美观的本地电子书阅读器,为了世界和平,决定将代码开源,稍加处理,即可实现各种梦幻功能。

#源码中有三本电子书,可复制进手机进行测试

效果图

apk下载链接 https://www.coolapk.com/apk/174412

使用

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

dependencies {
    compile 'com.github.supertaohaili:book:1.0.0'
}

示例代码:

1、获取全部图书:
List<BookList> all = DataSupport.findAll(BookList.class);

2、添加本地图书:
intent = new Intent(this, FileChooserActivity.class);
this.startActivity(intent);

3、删除本地图书:
DataSupport.delete(BookList.class, book.getId());

4、阅读单子书:
ReadActivity.openBook(book, LocalBookshelfActivity.this);

第三方及开源框架使用:

1、添加了bugly 异常上报与更新,登录https://bugly.qq.com/v2/crash-reporting/dashboard/9bb43e127f?pid=1 申请appid,替换即可

2、添加了友盟统计,可登录http://passport.umeng.com/login ,申请appkey,替换即可

3、上下拉刷新:https://github.com/lcodecorex/TwinklingRefreshLayout(这个稳定,bug少)

4、项目全局使用RecyclerView,适配器的二次封装使用:(支持多种布局)

博客:http://blog.csdn.net/fisher0113/article/details/51955845
     github:https://github.com/fishyer/StudyRecyclerView

5、数据库:使用litepal ,轻量,简单:https://github.com/LitePalFramework/LitePal

Known Issues

If you have any questions/queries/Bugs/Hugs please mail @ [email protected]

book's People

Contributors

supertaohaili avatar

Watchers

 avatar

Forkers

18852548808

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.