摘要:
//选择图片 requestCode 返回的标识 Intent innerIntent = new Intent(Intent.ACTION_GET_CONTENT); //"android.intent.action.GET_CONTENT" innerIntent.setType(contentType); //查看类型 String IMAGE_UNSPECIFIED = "image/*"; 详细的类型在 com.google.android.mms.ContentType 中 Intent wrapperIntent = Intent.crea 阅读全文
posted @ 2011-07-05 11:50
pandans
阅读(850)
评论(0)
推荐(0)
摘要:
转自:http://www.cnblogs.com/chon/archive/2011/06/28/2092363.html多线程与异步Main Thread & UI Thread当程序启动的时候Android会自动创建一个进程和一个线程,这个线程负责界面更新,收集系统事件和用户的操作事件等并分配给对应的组件,所以这个线程非常重要 被称为主线程,因为所的和UI有关的操作都是在这个线程当中进行的所以也被称作UI线程。所以说默认情况下主线程和UI线程指的是同一个线程。For instance, when the user touches a button on the screen, y 阅读全文
posted @ 2011-07-05 09:23
pandans
阅读(386)
评论(0)
推荐(0)

浙公网安备 33010602011771号