android.content.AsyncQueryHandler A helper class to help make handling asynchronous ContentResolver queries easier.   void android.content.AsyncQueryHandler.startQuery(int token, Object cookie, Uri uri, String[] projection, String selection, String[]…
原文:http://android.eoe.cn/topic/summary 翻译:[eoeAndroid原创团队]kris.流风而逝.贼寇在何方.snowxwyo.lsy4833406 更新日期:2012-06-28 Android 4.1 (Jelly Bean)发布了,这次发布包含了一些性能及用户体验上面的优化.也为用户和开发人员添加了一些新的功能.本文主要介绍了一些对于开发人员来说比较关注或者说有用的api. 对于应用开发人员来说,Android 4.1里面包括了SDK编译包(可以编译你…
android.content.BroadcastReceiver Base class for code that will receive intents sent by sendBroadcast(). You can either dynamically register an instance of this class with Context.registerReceiver() or statically publish an implementation through the…
android.provider.ContactsContract.RawContacts Constants for the raw contacts table, which contains one row of contact information for each person in each synced account. Sync adapters and contact management apps are the primary consumers of this API.…
android.provider.ContactsContract.Data Constants for the data table, which contains data points tied to a raw contact. Each row of the data table is typically used to store a single piece of contact information (such as a phone number) and its associ…
android.provider.ContactsContract ContactsContract是联系人provider和app的contract.定义了已支持的URL和column.取代了之前的Contacts. Overview ContactsContract定义了有关联系人信息的可扩展的数据库.Contact信息保存为三层数据模型: 1. Data表保存了任何类型的个人数据.例如:电话号码.email地址等.存在Data表中的数据类型集是开放的(无限制的).提供了常用数据类型集.任何…
android.os.Parcelable Interface for classes whose instances can be written to and restored from a Parcel. Classes implementing the Parcelable interface must also have a static field called CREATOR, which is an object implementing the Parcelable.Creat…
  android.widget.Filterable 定义了一种可过滤的行为.Filterable接口通常有android.widget.Adapter来实现.接口Filterable中有个抽象方法getFilter()需要实现. Filter android.widget.Filterable.getFilter() 返回一个filter对象,用来过滤出符合某种pattern的数据.getFilter()方法通常在android.widget.Adapter类中实现.   android.w…
android.provider.ContactsContract.Contacts 对应contacts数据表.RawContacts的一个聚合(aggregate)代表同一个人.每个人在数据表contacts中有一个记录. Operations Insert Contact不能直接/显式创建.插入一个RawContact时,provider首先查找是否存在一个Contact表示同一个人.如果存在,provider将Contacts._ID赋值给RawContacts.CONTACT_ID.如…
android.view.View.MeasureSpec MeasureSpec是View的内部类 public static class MeasureSpec MeasureSpec封装从parent传递给child的layout要求.每个MeasureSpec表示对width/height的要求.MeasureSpec由size和mode组成.可用的mode有3种: 1. UNSPECIFIED表示parent没有强加给child任何constraint. 2. EXACTLY表示par…