Get Skype name from Contacts list
问题 I'm getting skype contacts in my android device with this code: private void getContactList() { Cursor c = getContentResolver().query( RawContacts.CONTENT_URI, new String[] { RawContacts.CONTACT_ID, RawContacts.DISPLAY_NAME_PRIMARY, RawContacts.DISPLAY_NAME_ALTERNATIVE }, RawContacts.ACCOUNT_TYPE + "= ?", new String[] { "com.skype.contacts.sync" }, null); int contactNameColumn = c .getColumnIndex(RawContacts.DISPLAY_NAME_ALTERNATIVE); int count = c.getCount(); skypeName = new String[count];