摘要:
public void getUserInfo(){ Cursor cursor = getContentResolver().query(ContactsContract.Contacts.CONTENT_URI, null, null, null, null); while(cursor.moveToNext()){ String id = cursor.getString(cursor.getColumnIndex(ContactsContract.Contacts._ID)); String name = cursor.g... 阅读全文
摘要:
四部曲:1,Demo_telephonymanagerActivity:(程序的入口activity)public class Demo_telephonymanagerActivity extends Activity{ /** Called when the activity is first created. */ ListView showView; //状态名数组 String[] statusNames; //手机状态的集合 ArrayList<String> statusValues = new ArrayList<St... 阅读全文
摘要:
阅读全文