List of Sample Apps The list below provides a summary of the sample applications that are available with the Android SDK. Using the links on this page, you can view the source files of the sample applications in your browser. You can also download t
Contents Acknowledgments xxxi About the Authors xxxiii Introduction 1 Who Should Read This Book 1 Key Questions Answered in This Book 2 How This Book Is Structured 2 An Overview of Changes in This Edition 3 Development Environments Used in This Book
Android, the next-generation open mobile platform from Google and the Open Handset Alliance, is poised to become a significant player in the mobile device market. The Android platform gives developers a fair bit of control while still supporting a f
The Table of Contents Each bullet shown below represents a chapter. Use the search field in the nav bar to search all of the CommonsWare books to see what they hold! Key Android Concepts Choosing Your Development Toolchain Tutorial #1 - Installing t
Aftermath Aftermath handles the consequences of your startActivityForResult calls. // Make some call to startActivityForResult public void startPicker(View view) { Intent pickContactIntent = new Intent(Intent.ACTION_PICK, Uri.parse("content://contac
代码很简单,就不多废话了
代码如下:
//读取联系人
public static Uri CONTACTSURI = ContactsContract.Contacts.CONTENT_URI;//联系人
public static void getContactsInfo(Context context,String tag){
String[] projections = new String[]{ContactsContract.Contacts._ID,Cont