When an object of a type is attached to an Editable, its methods will be called when the text is changed. 接口TextWatcher定义了三个抽象方法: public void beforeTextChanged(CharSequence s, int start, int count, int after) This method is called to notify you that,…
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.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.os.AsyncTask<Params, Progress, Result> AsyncTask enables proper and easy use of the UI thread. This class allows to perform background operations and publish results on the UI thread without having to manipulate threads and/or handlers. An a…
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[]…
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…
Testing Fundamentals The Android testing framework, an integral part of the development environment, provides an architecture and powerful tools that help you test every aspect of your application at every level from unit to framework. Android测试框架,是A…
转自:https://developers.google.com/wallet/instant-buy/android/tutorial This tutorial guides you through integrating Instant Buy into a purchase flow, in the context of an example bike store. The tutorial provides details and complete source code to hel…
Contacts Provider 电话簿(注:联系人,联络人.通信录)提供者 ------------------------------- QUICKVIEW 快速概览 * Android's repository of information about people. * Android的关于人的信息的仓库. * Syncs with the web. * 与互联网同步. * Integrates social stream data. * 集成社交流数据. IN THIS DOCUME…
Creating a Navigation Drawer中使用的Navigation Drawer的android:minSdkVersion="14",现在Android API Version 小于14的还有30%左右呢.Android个版本的占有量可参考 Platform Version. Android Platform Version 我们的应用为了适配不同的版本,需要降低minSdkVersion,作者一般适配SDK到API 7.这一篇博文也是把Creating a Nav…
[译]Android API 规范 译者按: 修改R代码遇到Lint tool的报错,搜到了这篇文档,aosp仓库地址:Android API Guidelines. 58e9b5f Project import generated by Copybara. by Android API Council · 9 months ago c0b835d Initial empty repository by Baligh Uddin · 8 years ago 提交记录显示最近才更新的,是官方的应用…