自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

博不如精

完美靠的是质量而非数量。世上的好东西时常小而难求,过多必无誉。只靠广博则难免成为平庸之辈,有所谓通才总想在学业上门门皆精,结果却常常是门门皆瘟。学业专攻必结硕果;若从事重要的事务,则必得美名。

  • 博客(55)
  • 资源 (1)
  • 收藏
  • 关注

原创 博客迁移

博客迁移至清峰捣鼓了一下 Hexo买了个自己的域名go go go!

2017-01-06 16:51:36 122

原创 读我编程,我快乐:程序员职业规划之道

职业规划,从大学开始,很少考虑这个事情,大四那会儿还学过相关的一门课,当时也只是抱着学分修修到的心态。最近一年里开始思考这个问题,选了这本《我编程,我快乐:程序员职业规划之道》开始学习规划自己的职业。 摘抄出一些觉得有用的、引人思考的片段和一些有趣的练习题,再附加自己的感想。

2016-05-11 17:20:32 2351

原创 读代码大全2——第五章 软件构建中的设计

设计是一个险恶的问题你必须首先把问题“解决”一遍以便能够明确地定义它,然后再次解决该问题,从而形成一个可行的方案。这一过程已经如影随形地在软件开发中存在数十年了。关键的设计概念软件的首要技术使命:管理复杂度如何应对复杂度把任何人在同一时间需要处理的本质复杂度减到最少;不要让偶然性的复杂度无谓地快速增长。理想的设计特征     高质量的设计

2016-02-02 20:19:55 714

原创 读代码大全2——第四章 关键的“构建”决策

在Visual Basic的早期,我想把产品中的业务逻辑、用户界面、数据库分离开,因此,我才用了一种设计约定,即只允许.frm文件(窗体文件)从数据库中读取数据或者将数据存入数据库。不允许数据直接通向程序的其它部分。每个窗体都有一个IsFormCompleted()子程序,其它子程序调用它来判断当前激活的那个窗体是否已经保存了自己的数据。IsFormCompleted()是窗体允许拥有的唯一的公用

2015-12-06 22:22:46 508

原创 读代码大全2——第三章 三思而后行:前期准备

只需要做几个大项目,就能体会到:事先做好计划能避免很多压力。关于开始构建之前要做前期准备的绝对有力且简明的论据在实现一个系统之前,需要理解 这个系统应该做什么 以及 它应该如何做到这些诉诸逻辑思考如何去做诉诸类比架构师吃掉需求,设计师吃掉架构,程序员消化设计。诉诸数据两种较好的方案计划好预先对大

2015-12-03 20:18:30 542

原创 读代码大全2——第一章和第二章

第1章 软件构建软件开发中的各种不同的活动:定义问题 problem definition需求分析 requirements development规划构建 construction planning软件架构 software architecture,或高层设计high-level design详细设计 detailed design编码与调试 coding and debu

2015-12-03 20:15:11 460

原创 读代码大全2——推荐书籍

需求类掌握需求过程 人民邮电出版社架构类编写有效用例 机械工业出版社软件架构实践 清华大学出版社面向模式的软件体系结构 卷1:模式系统 机械工业出版社软件架构编档 清华大学出版社软件架构评估 清华大学出版社企业应用架构模式 机械工业出版社统一软件开发过程 机械工业出版社开发类快速软件开发——有效

2015-12-03 20:11:01 668

原创 Mysql实现split函数——支持多字符分割

分割出多少个字符串split_count(str,delimiter)DELIMITER $$CREATE DEFINER=`root`@`%` FUNCTION `split_count`(f_string varchar(1000),f_delimiter varchar(100)) RETURNS int(11)BEGIN return 1+(length(f_string

2015-11-24 17:30:12 11924

转载 解决Android Studio 编译缓慢和中文编码问题

网上找的方法,试了一下快了很多,记下来做参考开启gradle单独的守护进程在下面的目录下面创建gradle.properties文件:/home//.gradle/ (Linux)/Users//.gradle/ (Mac)C:\Users\\.gradle (Windows)并在文件中增加:org.gradle.daemon=true修改a

2015-06-24 16:48:09 838

原创 Android Studio1.2 安装总结

最近可能又要开始接触android了,去了解了一下,更新换代还是挺快的AndroidAnnotations更新到3.3.1版本了,也去看了一下Android Studio(1.2版本的下站地址,需翻墙)下了那个IDE+SDK版本的,但是安装之后还是会去检查SDK版本安装的时候遇到了一些问题:Intel HAXM安装失败,原因是BIOS里没有开启Intel  Virt

2015-06-05 16:40:43 681

转载 ReleaseNotes 3.3.1

ReleaseNotesCsaba Kozák edited this page 26 days ago · 132 revisions Pages 899/05/2015 The 3.3.1 release is out !Using AndroidAnnotationsGet started!DownloadCookb

2015-06-04 14:09:38 832

转载 ReleaseNotes 3.1 & 3.2

ReleaseNotesWonderCsabo edited this page on 13 Oct · 124 revisions Pages 9909/11/2014 The 3.2 release is out !Using AndroidAnnotationsGet started!DownloadCookbook

2014-11-21 15:22:05 768

原创 MyEclipse+Spring+JDBCTemplate+Mysql+JAX-WS搭建Webservice

MyEclipse10.0,Spring3.0,Mysql,5.0,JAX-W,2.10、导入项目(链接:百度云盘 密码: km6m)1、更改Java项目名称2、更改web项目名称,Web Context-root3、更改包名对应applicationContext.xml中包名修改4、更改Config

2014-03-27 16:10:55 1512

原创 Android版DailyInsist(五)——业务逻辑和数据操作SettingFragment & 小结

最后一部分是提醒以及每天任务刷新,两者都用到了AlarmManager这个系统管理类。提醒提醒功能就是一个闹钟的效果,只是这里是启动服务,在服务里发一条notification作为提醒。设置时间时,TimePicker控件会监听该事件,每次时间改变后都会重新设置系统闹钟;如果用户关闭提醒功能的话,这个系统闹钟设置的事件也会取消。修改后的SettingFragment如下:@EFra

2014-01-22 14:01:53 1605 3

原创 Android版DailyInsist(四)——业务逻辑和数据操作RecordFragment

统计界面RecordFragment中的业务逻辑涉及到三个方面:新建任务,每日签到和删除任务。有上面三个中的任何一个操作时,统计界面都要做出相应的更新。其中删除操作在统计界面中进行。这里参考了文章中实现自定义ListView的形式。TaskBean类在上一篇文章中已经介绍过了,下面定义一个接口ITaskFinder:public interface ITaskFinder {

2014-01-20 11:38:19 1156

原创 Android版DailyInsist(三)——业务逻辑和数据操作MainFragment

业务逻辑主要在主界面MainFragment进行,流程图(非完整)如下:抽象出一个对象——任务Task,创建TaskBean类:package com.kiyonlin.bean;import android.annotation.SuppressLint;import java.text.SimpleDateFormat;import java.util.Ca

2014-01-15 15:47:25 1445

原创 Android版DailyInsist(二)——滑动界面

滑动界面结合了FragmentActivity和开源项目 Android-ViewPagerIndicator 进行实现。项目本身需要添加开源项目的library作为库文件使用。主Activity——DailyInsistActivity相关代码如下:package com.kiyonlin.dailyinsist;import java.util.ArrayList;impor

2014-01-14 16:11:20 1463

原创 Android版DailyInsist(一)——简介

软件简介Daily Insist 是IOS上的一款习惯养成软件。软件界面采用扁平化设计,看上去清新简洁。它的作用就是让你每天坚持做事后签到,最终养成习惯、稳定习惯。假如一天没有签到,那么当前任务就失败了。目前Android上没有这款软件,所以打算简单移植一下,功能方面会略有差异。但是主要目的是结合实现这个小软件熟悉巩固之前学习的AndroidAnnotations开源项目。界面

2014-01-14 11:26:50 1320

翻译 AndroidAnnotations 3.0.1 更新说明

12/01/2014 The 3.0.1 release is out !Download AndroidAnnotations 3.0.1Upcoming release: 3.1 #See opened issues to have a preview of the future release.Latest stable release : 3

2014-01-14 09:27:42 1019

翻译 AndroidAnnotations 3.0 更新说明

下载地址:Download AndroidAnnotations 3.0Latest stable release : 3.0 #Released on December 27, 2013Important: Non backward compatible changes 不向后兼容的变动#369 Renamed groupId and packages f

2014-01-09 15:00:47 2099

翻译 AndroidAnnotations——SharedPreferencesHelpers

SharedPreferencesHelpersSince AndroidAnnotations 2.1SharedPreferences helpers allow you to use Android SharedPreferences, but in a typesafe manner, instead of using strings.Sha

2013-12-17 09:49:14 2585 4

翻译 AndroidAnnotations——OnActivityResult

OnActivityResultSince AndroidAnnotations 2.7This annotation is intended to be used on methods to receive results from an activity started withandroid.app.Activity.startActivityForRes

2013-12-16 15:34:56 1669

翻译 AndroidAnnotations——BackgroundTasksAndActivityBinding后台任务和activity绑定

BackgroundTasksAndActivityBindingSince AndroidAnnotations 2.5Like an AsyncTask, @Background does not handle any lifecycle changes on your activities.和AsyncTask类似, @Background 不会处理任

2013-12-16 14:03:29 1164

翻译 AndroidAnnotations——Publish progress显示进度

Publish progressSince AndroidAnnotations 1.0Publish progress made easyIt's actually quite easy to deal with progress reports when you let AndroidAnnotations handle thread related

2013-12-16 13:23:27 1531

翻译 AndroidAnnotations——Fork join

Fork joinSince AndroidAnnotations 1.0Fork / Join for the poor Android devLet's say you want to split a background operation into two separate operations that run concurrently, an

2013-12-16 13:16:12 919

翻译 AndroidAnnotations——WorkingWithThreads线程操作

WorkingWithThreads04/03/2013 The 2.7.1 release is outUsing AndroidAnnotationsGet started!DownloadCookbook, full of recipesList of all available annotationsRelease NotesExamples

2013-12-16 11:21:37 1568

翻译 AndroidAnnotations——Handling options menu处理选项菜单

Handling options menuSince AndroidAnnotations 2.2You can easily add options menu support in your activities, with the @OptionsMenu and@OptionsItem annotations.你可以使用 @Option

2013-12-16 10:58:47 1270

翻译 AndroidAnnotations——TextChangeEvents文本改变事件

TextChangeEventsSince AndroidAnnotations 2.6@TextChangeThis annotation is intended to be used on methods to receive events defined byandroid.text.TextWatcher.onTextChanged(

2013-12-16 09:17:57 1937

翻译 AndroidAnnotations——Adapters and lists 适配器和列表

Adapters and listsThis is just a simple demonstration of how you could handle Adapters and AdapterViews in a simple way with AndroidAnnotations.这是一个使用AndroidAnnotations处理 Adapters和 A

2013-12-13 16:13:06 2263

翻译 AndroidAnnotations——SeekBarEventsSeekBar事件

SeekBarEventsSince AndroidAnnotations 2.7You can bind methods to handle specific events from SeekBar view.你可以绑定方法去处理来自 SeekBar视图的指定的事件。@SeekBarProgressChangeT

2013-12-09 19:52:08 1004

翻译 AndroidAnnotations——Listening to AdapterViewEvents监听适配器视图事件

AdapterViewEvents适配器视图事件Since AndroidAnnotations 1.0You can bind methods to handle events on items in an AdapterView:你可以绑定方法来处理适配器视图中项目的事件:Item clicks with @ItemClickLong ite

2013-12-07 20:37:54 1293

翻译 AndroidAnnotations——ClickEvents单击事件

ClickEvents04/03/2013 The 2.7.1 release is outUsing AndroidAnnotationsGet started!DownloadCookbook, full of recipesList of all available annotationsRelease NotesExamplesQuestio

2013-12-07 20:05:28 1879

翻译 AndroidAnnotations——Injecting FragmentArg注入Fragment参数

FragmentArgSince AndroidAnnotations 2.7@FragmentArgThe @FragmentArg annotation indicates that a fragment field should be injected with the corresponding Fragment Argument

2013-12-06 08:56:30 2802

翻译 AndroidAnnotations——Simple HTTPS 简单的HTTPS

不熟悉这块,所以前面的解释没怎么懂,例子倒是蛮好懂的Simple HTTPSSince AndroidAnnotations 2.6@HttpsClientThe @HttpsClient simplifies HTTPS requests by injecting a HttpClient instance with a con

2013-12-05 16:25:46 1374

翻译 AndroidAnnotations——Reinject NonConfiguration Instance重新注入NonConfiguration 实例

NonConfiguration InstanceSince AndroidAnnotations 2.5When a configuration change occurs, your activities are usually destroyed and recreated. This behavior is great to reload r

2013-12-04 20:39:46 1238

翻译 AndroidAnnotations——Injecting html注入html文本

Injecting html注入htmlSince AndroidAnnotations 2.2If you want to inject HTML text in a TextView (may it be to format it or because you love HTML), there are two annotations that ca

2013-12-04 20:16:28 813

翻译 AndroidAnnotations——Injecting SystemServices注入系统服务

SystemServicesSince AndroidAnnotations 1.0Standard Android System Service injectionRetrieving Android System Services requires remembering the name of the constant, and casti

2013-12-04 20:14:52 1251

翻译 AndroidAnnotations——Injecting Extras注入Extras

ExtrasSince AndroidAnnotations 1.0@ExtraThe @Extra annotation indicates that an activity field should be injected with the correspondingExtra from the Intent that was used to

2013-12-04 20:12:46 1424

翻译 AndroidAnnotations——Injecting project Resources注入项目资源

ResourcesSince AndroidAnnotations 1.0All @XXXRes annotations indicate that an activity field should be injected with the correspondingAndroid resource from your res folder. The r

2013-12-04 20:11:28 1063

翻译 AndroidAnnotations——Injecting Views视图注入

Injecting Views视图注入Since AndroidAnnotations 1.0@ViewByIdThe @ViewById annotation indicates that an activity field should be bound with the corresponding View component from t

2013-12-04 20:09:55 2024

android版DailyInsist20140115

android版的dailyinsist,简单移植

2014-01-15

空空如也

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

TA关注的人

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