ITeye博客

savage netbean

netbean77 · 共 28 篇文章

Android4.1

Faster, Smoother, More Responsive 1.vsync timing 2. triple buffering Support for International Users bi-directional text New Ways to Create Beautiful UI Expandable notifications Resizable app widgets Simplified task navigation Easy animations for Activity launch Transitions to Lights Out and Full S…

2012-06-28 18:05 · Android开发 · 评论(0)

使用GIT在GITHUB上拉取项目

windows环境下: 1.安装GIT 2.设置GIT使用http proxy(如果需要设置代理的话) git config --global http.proxy http://username:pwd@proxy_server:8080 3.git clone https://github.com/facebook/folly.git

2012-06-14 16:40 · Android开发 · 评论(0)

Cygwin,MinGw

Cygwin: MinGW:

2012-05-04 11:29 · Linux C · 评论(0)

Android Intent

android Intent 表示软件开放的接口,用于标示component(Activity,Service等)。 android系统通过intent,启动相应的components,传递数据。或发送广播sendBroadcast(intent)。 context.startService(intent) context.startActivity(intent) intent包含以下属性action data schema intent-filter

2012-02-15 15:35 · Android开发 · 评论(0)

ADB

1. adb uninstall package_name 2. adb shell 进入linux命令行模式 pm uninstall package_name 3. adb logcat

2012-02-13 18:33 · Android开发 · 评论(0)

java format template

eclipse java format template.

2012-01-12 15:28 · JAVA · 评论(0)

Android SDK源码下载

1. Android SDK源码下载: 可以到这个路径 http://repository.grepcode.com/java/ext/com/google/android/android/ 下载; 2. Android source tree下载,可参考: 在ubuntu中下载android source tree. 步骤参考http://source.android.com/source/downloading.html 以及http://android.yaohuiji.com/archives/2652 下载完成后,android source的项目结构可参考 http://4225…

2011-11-25 17:21 · Android开发 · 评论(0)

产品设计

近半年在做Android产品开发,结合项目实际,重点说说产品设计方面的感觉 移动产品要追求: 1.产品的设计务必做到简洁,易用,注重用户体验。 2.产品功能的入口要直达,产品要追求尽可能少的页面,页面之间的导航,跳转要尽量保持简单。 3.图标,文字要比较大,便于用户直接点击,尽量减少用户输入。因为手机屏幕比较小,在手机上输入是一件很不爽的事。 4.Android版和Iphone版本的设计要尽量保持一致。可以先按照Iphone的设计来做,然后在Android上评估,路演。因为两个平台毕竟有些差异,然后做到最大化统一。这样,不仅设计出来的风格统一,用户体验也趋于一致,设计和后期优化的成本和效率也…

2011-11-24 21:07 · Android开发 · 评论(0)

To Do List

DONELIST && TODOLIST 11/19 1. 问题:Android project本身没有错误,项目上显示一个小红叉: 解决方法: 进入C:\Documents and Settings\Administrator\.android 删除路径下的debug.keystore及 ddms.cfg。 (不同环境下的目录可能略有不同,可在eclipse中查找此路径:Window->Preferences->Android->Build下 Default debug keystore) 然后重新导入即可。 Refer:http://www.cnblogs.com/yyangblog/a…

2011-11-21 00:05 · Android开发 · 评论(0)

参加html5沙龙

今天参加了HTML5技术沙龙。 地点在张江9城一楼会议室。 session 1:html5游戏基础,动画和地图; 动画有属性动画,css3;帧动画,正弦曲线,赛贝尔曲线;地图(1维数组,6边形数组) js setInterval(); clearInterval() session2:html5网页游戏,动画animation,向量(速度,加速度向量),animation实战,碰撞检测;矩形碰撞,像素碰撞; session3: html5 websocket demo;html5 audio...;移动平台;open source session4: html5 canvas ,svg。。。…

2011-09-17 20:29 · IdeaShare · 评论(0)

Chunked transfer encoding

Chunked transfer encoding是http1.1中的一种数据传输机制。 refer: Chunked transfer encoding is a data transfer mechanism in version 1.1 of the Hypertext Transfer Protocol (HTTP) in which a web server serves content in a series of chunks. It uses the Transfer-Encoding HTTP response header in place of the Content-…

2011-09-15 12:53 · Web2.0 · 评论(0)

WEB2.0Share

爱吼网、即付通、若比邻、帽儿胡同 http://9.douban.com/site/entry/189496348/

2011-09-13 10:27 · IdeaShare · 评论(0)

Java regex tutorial

Java regex tutorial: refer : http://www.mkyong.com/tutorials/java-regular-expression-tutorials/ 几个理解点: (1)[^abc]:任何字符,除了 a 、 b 或 c (否定) (2) . 表示任意字符 X? 0次或1次 X* 0次或多次 X+ 1次或多次 (3) (.+?) 匹配任何东西 (4) Reluctant 数量词 (勉强) X ?? X ,一次或一次也没有 X *? X ,零次或多次 X +? X ,一次或多次 从前往后匹配,从输入字符串的开始处开始,因此每次勉强地吞噬一个字符来寻找匹配…

2011-09-12 00:52 · JAVA · 评论(0)

synchronized method and synchronized static method

synchronized method and synchronized static method : key point1: synchronized void foo() { ... } is same as void foo() { synchronized(this) { ... } } synchronized static void foo() { ... } is same as static void foo() { synchronized(SomeClass.class) { ... } } key point2: You can use any object as t…

2011-09-08 10:25 · JAVA · 评论(0)

Java性能检测工具-MAT的使用

在android开发中,可以使用MAT来检测应用的内存消耗,memory leak的问题。 Refer: http://www.eclipse.org/mat/

2011-09-07 15:26 · Android开发 · 评论(0)