自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Widsom的博客

人的原动力来自对未来的美好憧憬

  • 博客(15)
  • 资源 (10)
  • 收藏
  • 关注

原创 Android中DisLruCache缓存封装

Android中DisLruCache缓存封装DisLruCache文件下载CSDN下载github下载DisLruCache介绍DisLruCache介绍(郭霖博客)DisLruCache介绍(鸿洋博客)DisLruCache之CacheManager封装CacheManager是对DisLruCache的再次封装public class CacheManager { private sta

2016-08-30 16:55:51 1556

原创 Android ORM框架介绍之android-liteorm(archiver)注解与封装

Android ORM框架介绍之android-liteorm注解与封装LiteOrm代号: archiverLiteOrm 是一个速度快、小巧却强大的 Android ORM 框架类库,速度快、体积小、性能高,开发者基本一行代码实现数据库的增删改查操作,以及实体关系的持久化和自动映射。 自动化且比系统自带数据库操作快1倍!作者个人主页liteorm注解常用注解@Table:用于类,默认使用类名,

2016-08-28 22:54:20 2088 1

原创 Android ORM框架介绍之OrmLite注解与封装

Android ORM框架介绍之OrmLite注解与封装OrmLite库引入compile 'com.j256.ormlite:ormlite-android:5.0'OrmLite注解@DatabaseTable:用于javabean类上public @interface DatabaseTable { String tableName() default "";//设置表名,默认是类

2016-08-28 11:51:56 2569 2

原创 Android ORM框架介绍之greenDao注解及加密(三)

Android ORM框架介绍之greenDao注解及加密(三)greenDao注解greendao注解还是比较多的,具体如下图所示:常用的greendao注解package www.weshared.test3;import org.greenrobot.greendao.annotation.Entity;import org.greenrobot.greendao.annotation.Ge

2016-08-24 22:50:26 5151 3

原创 Android ORM框架介绍之greenDao封装(二)

Android ORM框架介绍之greenDao封装(二)数据库操作增删改查操作重复太高,所以需要进行抽取,通过DataBaseManager统一管理。package www.weshared.greendao;import android.content.Context;import android.database.Cursor;import android.support.annotati

2016-08-24 10:51:27 1957 1

原创 Android ORM框架介绍之greenDao配置(一)

Android ORM框架介绍之greenDao配置(一)greenDao简介:greenDAO是一个将对象映射到SQLite数据库中的轻量且快速的ORM解决方案。greenDao具备以下特点: - 最大的性能(可能是Android最快的ORM) - 最小的内存消耗 - 小库的大小(<100KB)保持你的建造时间低和避免65K方法限制 - 数据库加密:greendao支持SQLCipher来

2016-08-23 18:25:04 1060

原创 DataBinding的基本使用(五)

DataBinding的基本使用(五)DataBinding基本使用包括以下内容: - 单纯的摆脱findviewbyid - 绑定基本数据类型及String - 绑定Model数据 - 绑定事件 - 通过静态方法转换数据类型 - 通过运算符操作数据 - 自定义Binding的类名 - 绑定相同Model的操作 - model变量改变自动更新数据 - 绑定List/Map等集合数

2016-08-14 18:56:59 13803 1

原创 DataBinding的基本使用(四)

DataBinding的基本使用(四)DataBinding基本使用包括以下内容: - 单纯的摆脱findviewbyid - 绑定基本数据类型及String - 绑定Model数据 - 绑定事件 - 通过静态方法转换数据类型 - 通过运算符操作数据 - 自定义Binding的类名 - 绑定相同Model的操作 - model变量改变自动更新数据 - 绑定List/Map等集合数

2016-08-14 18:55:50 5467

原创 DataBinding的基本使用(三)

DataBinding的基本使用(三)DataBinding基本使用包括以下内容: - 单纯的摆脱findviewbyid - 绑定基本数据类型及String - 绑定Model数据 - 绑定事件 - 通过静态方法转换数据类型 - 通过运算符操作数据 - 自定义Binding的类名 - 绑定相同Model的操作 - model变量改变自动更新数据 - 绑定List/Map等集合数

2016-08-14 18:54:48 4802 1

原创 DataBinding的基本使用(二)

DataBinding的基本使用(二)DataBinding基本使用包括以下内容: - 单纯的摆脱findviewbyid - 绑定基本数据类型及String - 绑定Model数据 - 绑定事件 - 通过静态方法转换数据类型 - 通过运算符操作数据 - 自定义Binding的类名 - 绑定相同Model的操作 - model变量改变自动更新数据 - 绑定List/Map等集合数

2016-08-14 18:52:41 7565 3

原创 DataBinding的基本使用(一)

DataBinding的基本使用(一)1.DataBinding介绍2015年谷歌I/O大会上介绍了一个框架DataBinding,DataBinding是一个数据绑定框架,以前我们在Activity里写很多的findViewById,现在如果我们使用DataBinding,就可以抛弃findViewById。DataBinding主要解决了两个问题: - 需要多次使用findViewById,损

2016-08-14 18:50:11 23594

原创 Toolbar和Menu的结合

Toolbar和Menu的结合1.在res目录下新建menu目录,在menu目录创建一个menu_item.xml文件,文件内容:<?xml version="1.0" encoding="utf-8"?><menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.an

2016-08-10 22:09:59 9793 3

原创 MySql(5.7.14)的解压版启动服务问题

MySql(5.7.14)的解压版启动服务问题1.在mysql的安装目录下创建一个my.ini文件,将my-default.ini文件内容复制到my.ini文件中,在mysql安装目录下创建一个data目录(用于存储数据,也可以创建在其他位置,但需要和my.ini配置文件中一致)。 2.在my.ini文件中,给basedir,datadir,port设置对应的路径和端口,如:#basedir代表自

2016-08-04 22:38:04 4078

原创 JDBC编程简介

JDBC编程简介jdbc的定义:JDBC(Java Data Base Connectivity,java数据库连接)是一种用于执行SQL语句的Java API,可以为多种关系数据库提供统一访问,它由一组用Java语言编写的类和接口组成。jdbc编程步骤:[注意]:需要先将mysql提供的对应jar包导入项目加载驱动: Class.forName(“com.mysql.jdbc.Driver”);

2016-08-03 22:18:59 1444

原创 二维码的生成与解析

二维码的生成二维码的原理简介:二维码 (2-dimensional bar code),是用某种特定的几何图形按一定规律在平面(二维方向上)分布的黑白相间的图形记录数据符号信息的。二维码中的黑白色表示二进制的0和1,所以信息可以通过一定的编码方式,将信息编入进二维码中。二维码具有多种编码,常用的有:PDF417、QR Code、Code 49、Code 16K、Code One等。效果图以下是二维码

2016-08-03 18:39:22 809

内存检测分析工具

内存分析工具

2017-06-19

Android逆向助手

android逆向助手,反编译工具

2017-06-19

GifCam录屏工具

录屏工具,保存的格式是GIF

2017-06-19

fiddler4抓包工具

Fiddler 4抓包工具

2017-06-19

commons-beanutils-1.8.3.jar

commons-beanutils-1.8.3.jar

2017-02-25

阿里巴巴Java开发手册 高清.pdf版

阿里巴巴Java开发手册,包含编程规约,异常日志,MySQL规约,工程规约,安全规约

2017-02-10

Bugly实现热更新Demo

使用bugly实现热更新

2017-02-07

Gradle Rescipes for Android

Gradle 官网资料

2016-11-15

Gradle for Android

About This Book, Create custom Gradle tasks and plugins for your Android projects, Configure different build variants, each with their own dependencies and properties, Manage multi-module projects, and integrate modules interdependently, Who This Book Is For, If you are an experienced Android developer wanting to enhance your skills with the Gradle Android build system, then this book is for you. As a prerequisite, you will need some knowledge of the concepts of Android application development., What You Will Learn, Build new Android apps and libraries using Android Studio and Gradle, Migrate projects from Eclipse to Android Studio and Gradle, Manage the local and remote dependencies of your projects, Create multiple build variants, Include multiple modules in a single project, Integrate tests into the build process, Create custom tasks and plugins for Android projects, In Detail, Gradle is an open source build automation system that introduces a Groovy-based domain-specific language (DSL) to configure projects. Using Gradle makes it easy for Android developers to manage dependencies and set up the entire build process., This book begins by taking you through the basics of Gradle and how it works with Android Studio. Furthermore, you will learn how to add local and remote dependencies to your project. You will work with build variants, such as debug and release, paid and free, and even combinations of these things. The book will also help you set up unit and integration testing with different libraries and will show how Gradle and Android Studio can make running tests easier. Finally, you will be shown a number of tips and tricks on the advanced customization of your application's build process. By the end of this book, you will be able to customize the entire build process, and create your own tasks and plugins for your Gradle builds.

2016-11-15

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除