Android开发
novoking
这个作者很懒,什么都没留下…
展开
-
scale动画
scale动画 <scale android:interpolator="@android:anim/accelerate_interpolator" android:fromXScale="0.0" android:toXScale="1.0" android:fromYScale="0.0" android:toYScale="1.0" android:pivotX=..原创 2011-08-19 15:11:33 · 87 阅读 · 0 评论 -
Android Intent
android Intent 表示软件开放的接口,用于标示component(Activity,Service等)。 android系统通过intent,启动相应的components,传递数据。或发送广播sendBroadcast(intent)。 context.startService(intent) context.startActivity(intent) i...原创 2012-02-15 15:35:45 · 185 阅读 · 0 评论 -
ADB
1. adb uninstall package_name 2. adb shell 进入linux命令行模式 pm uninstall package_name 3. adb logcat原创 2012-02-13 18:33:06 · 95 阅读 · 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:08 · 297 阅读 · 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://sourc...原创 2011-11-25 17:21:15 · 281 阅读 · 0 评论 -
产品设计
近半年在做Android产品开发,结合项目实际,重点说说产品设计方面的感觉 移动产品要追求: 1.产品的设计务必做到简洁,易用,注重用户体验。 2.产品功能的入口要直达,产品要追求尽可能少的页面,页面之间的导航,跳转要尽量保持简单。 3.图标,文字要比较大,便于用户直接点击,尽量减少用户输入。因为手机屏幕比较小,在手机上输...原创 2011-11-24 21:07:05 · 99 阅读 · 0 评论 -
To Do List
DONELIST && TODOLIST 11/19 1. 问题:Android project本身没有错误,项目上显示一个小红叉: 解决方法: 进入C:\Documents and Settings\Administrator\.android 删除路径下的debug.keystore及 ddms.cfg。 (不同环境下的目录可能略有不同,可在eclips...原创 2011-11-21 00:05:36 · 178 阅读 · 0 评论 -
Android Logcat和Log文件处理
1.Android Logcat工具的一般查看 在Eclipse中Window -> ShowView -> Logcat,可以自定义Filter,过滤出自己关心的Log。 2.定制Android Log文件 参考:http://easion-zms.iteye.com/blog/981568...原创 2011-08-10 11:13:35 · 65 阅读 · 0 评论 -
Android文件系统结构
Android文件系统结构: 详见:http://www.douban.com/group/topic/8634503/ Android本身也是一种linux系统。在system/bin下包含很多系统工具。比如am,dumpstate,dumpsys等。 这里另外说明的是,安装apk到手机上,它的安装位置是:data/...原创 2011-08-10 10:56:20 · 173 阅读 · 0 评论 -
android tools之traceview的使用
android tools之traceview的使用 [url]http://developer.android.com/guide/developing/debugging/debugging-tracing.html[/url]原创 2011-08-09 17:54:14 · 63 阅读 · 0 评论 -
hierarchyviewer的使用
hierarchyviewer工具用来查看android UI的树形结构。 一般在真机上使用会报错。 所以一般在模拟器上使用。使用方法:先在模拟器上运行android app,然后在android sdk目录的tools目录下,运行hierarchyviewer.bat。然后自己可以摸索下。 另外:如果要在模拟器上安装apk的话,可使用 adb install apk_path\xyz...原创 2011-08-09 16:31:45 · 106 阅读 · 0 评论 -
Android屏幕分辨率
尽量使用对齐方式布局; 尽量使用dp来定义padding margin; 少使用pixel来定义; 详细参考: [url]http://blog.csdn.net/moruite/article/details/6028547[/url] [url]http://developer.android.com/guide/practices/screens_support.html[/url...2011-07-29 16:43:32 · 58 阅读 · 0 评论 -
Java性能检测工具-MAT的使用
在android开发中,可以使用MAT来检测应用的内存消耗,memory leak的问题。 Refer:http://www.eclipse.org/mat/原创 2011-09-07 15:26:22 · 114 阅读 · 0 评论 -
自定义View
自定义view在android开发中,用的很多。 先参考以下两个介绍。 自定义View : http://blog.csdn.net/android_tutor/article/details/5499731 自定义View的属性 : http://blog.csdn.net/android_tutor/article/details/5508615...原创 2011-09-02 11:44:37 · 87 阅读 · 0 评论 -
[转载]Android事件模型
Touchevent 中,返回值是 true ,则说明消耗掉了这个事件,返回值是 false ,则没有消耗掉,会继续传递下去,这个是最基本的。 ------------------------------------------------------- 以前写 android ,对事件的处理没有太深入,只是简单的 onTouchEvent 就 ok 了,现在写的 UI ,很多自定义组件,...原创 2011-08-31 09:49:27 · 79 阅读 · 0 评论 -
android划屏效果
android划屏效果demo: 参考:http://txlong-onz.iteye.com/blog/811246原创 2011-08-29 16:27:18 · 115 阅读 · 0 评论 -
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 R...原创 2012-06-28 18:05:50 · 112 阅读 · 0 评论