自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 资源 (1)
  • 收藏
  • 关注

转载 Android AsyncQueryHandler

此为AsyncQueryHandler的构造方法 [java] view plaincopy public AsyncQueryHandler(ContentResolver cr) {           super();           mResolver = new WeakReference(cr);           syn

2012-02-19 21:24:15 468

原创 Mac 技巧

1. 加快  itunes 的访问速度  : http://www.mac52ipod.cn/post/speed-up-apple-itunes-download-speed-from-app-store-by-dns.php                                                      http://www.mac52ipod.cn/post/ed

2012-02-15 10:23:09 336

转载 Android IntentService

IntentService是Service类的子类,用来处理异步请求。客户端可以通过startService(Intent)方法传递请求给IntentService,IntentService通过worker thread处理每个Intent对象,执行完所有的工作之后自动停止Service。   说明:worker thread处理所有通过传递过来的请求,创建一个worker queue,一

2012-02-12 08:48:30 291

转载 android AsyncQueryHandler

在QuickContactBadge里面我们可以看到是通过AsyncQueryHandler来查询Contact的数据。其实我不是第一次看AsyncQueryHandler,但以前看到它,没时间去细细地体味它的用法与好处。反正最近这段时间挺闲的,所以慢慢地体会一些代码。  只要你在Google或者baidu输入AsyncQueryHandler,就会得到好多链接,可你一打开就知道几乎都是同一篇文

2012-02-08 22:31:45 622

转载 android getLastNonConfigurationInstance

第一篇:  很多网友可能知道Android横竖屏切换时会触发onSaveInstanceState,而还原时会产生onRestoreInstanceState,但是Android的Activity类还有一个方法名为onRetainNonConfigurationInstance和getLastNonConfigurationInstance这两个方法。    我们可以通过  onR

2012-02-08 11:22:09 1009

转载 android ResultReceiver

在google的I/O大会中关于“Writing zippy Android apps”,有讲过用IntentService的问题,但是因为API文档中对IntentService描述不是很详细,所以很少人使用IntentService。 android.app.IntentService “IntentService is a base class for Services that h

2012-02-08 10:52:03 1102

转载 Android 自定义 标题

一个接着一个的activity,写啊写,调啊调,后来,终于发觉,activity的标题栏好难看,好单调啊。咱们为了吸引用户的眼球,得搞点个性化的东西。          自定义标题栏的方法,网上一搜一大堆,我也稍微提一下,oncreate中加上如下 代码 就行:   Java代码  6 J/ ]6 F" x0 R( ?: R, w  1.requestWindowFeature(Wi

2012-02-08 10:16:40 534

原创 eclipse 优化 提速

Speed up your eclipse as a super fast IDE Follow these 5 steps to speed up your eclipse as a super fast IDE , it works for 32 & 64 bit version eclipse/jdk. 1. Disable antivirus softw

2012-01-10 10:18:24 1126

原创 Android 知名 博客

1. Android 列表点击后的多选  列表 Item和Item中Button的点击事件的分离 :     http://mylifewithandroid.blogspot.com/ 2. Cursor Adapter :     http://thinkandroid.wordpress.com/category/android-tutorials/cursoradapter-

2011-12-14 13:19:25 549

原创 实现 类似 Android Market || QQ 横屏滚动 的 效果

放出Demo   ,供大家研究   下载链接

2011-12-08 14:13:16 717

原创 Android 系统样式 自带

•android:theme="@android:style/Theme.Dialog"   将一个Activity显示为对话框模式 •android:theme="@android:style/Theme.NoTitleBar"  不显示应用程序标题栏 •android:theme="@android:style/Theme.NoTitleBar.Fullscreen"  不显示应用

2011-12-08 07:47:38 639 2

原创 Useful

http://android.git.kernel.org/   Android ADT下载地址:  - https://dl-ssl.google.com/android/eclipse/     blog.radioactiveyak.com     http://liqiuxi.javaeye.com/blog/794623     C# 截图 :  http://ww

2011-04-07 12:15:00 505

likeQQScroll

测试demo , 类似于 Android Market 或QQ 的横向切屏效果

2011-12-08

空空如也

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

TA关注的人

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