一.Android的系统架构1. 应用程序 同Android系统一起发布的核心应用程序,如email 客户端,SMS 短消息程序,日历,地图,浏览器,联系人管理程序等。 这些应用程序都是用java编写的。2. 应用程序框架 开发者可以用它开发应用,其中包括:? 丰富而又可扩展的视图(Views):可...
分类:
移动开发 时间:
2014-07-09 18:05:54
阅读次数:
197
工作笔记:在myeclipse 中创建一个java project 创建一个TestSlf4J 类import org.slf4j.Logger; import org.slf4j.LoggerFactory;public class TestSlf4J { private stati...
分类:
其他好文 时间:
2014-07-09 17:59:20
阅读次数:
192
TextView属性详解属性详解android:autoLink设置是否当文本为URL链接/email/电话号码/map时,文本显示为可点击的链接。可选值(none/web/email/phone/map/all)android:autoText如果设置,将自动执行输入值的拼写纠正。此处无效果,在显...
分类:
移动开发 时间:
2014-07-09 16:18:21
阅读次数:
267
Creating a selection filter that finds dynamic blocks in AutoCAD using .NETAn interesting question came in via email from Rob Outman. He’s interested ...
分类:
其他好文 时间:
2014-07-09 13:51:57
阅读次数:
324
在"安装Git"一节中,我们已经配置了user.name和user.email,实际上,Git还有很多可配置项。比如,让Git显示颜色,会让命令输出看起来更醒目:$ git config --global color.ui true这样,Git会适当地显示不同的颜色,比如git status命令:文...
分类:
其他好文 时间:
2014-07-08 22:20:13
阅读次数:
243
1. git send-email is included in an individual package, named "git-email":$ sudo apt-get install git-email2. Configure the SMTP server info after the ...
分类:
系统相关 时间:
2014-07-08 14:49:13
阅读次数:
413
extJs数据模型之Model博客分类:ExtJs1 model的创建Java代码 //我们利用Ext.define来创建我们的模型类 //DB table person(name,age,email) Ext.define("person",{ extend:"Ext.data.Model"...
分类:
其他好文 时间:
2014-07-08 11:27:53
阅读次数:
210
自己设置目录,也就是在项目启动时通过System.setProperty来设置,实现ServletContextListener来解决:publicclasslog4jlistenerimplementsServletContextListener{publicstaticfinalStringlog4jdirkey="log4jdir";publicvoidcontextDestroyed(ServletContextEventservletconte..
分类:
其他好文 时间:
2014-07-08 08:56:04
阅读次数:
229
1、使用nodemailer模块var nodemailer = require("nodemailer");2、代码如下exports.send_email = function(req,res) { //发件人信息设置 var smtpTransport = nodemailer.c...
分类:
Web程序 时间:
2014-07-08 00:39:18
阅读次数:
366
Log4J简介
基本上所有的大型应用,包括我们常用的框架,比如hibernate;spring;struts等,在其内部都做了一定数量的日志信息。为什么要做这些日志信息,在系统中硬编码日志记录信息是调试系统,观察系统运行状态的一种方式。可能大部分程序员都还记得自己最开始写代码的时候,写一个方法总是出错,就喜欢使用System.out.println(“1111111”)之类的代码来查看程...
分类:
其他好文 时间:
2014-07-06 09:11:42
阅读次数:
262