摘要: 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... 阅读全文
posted @ 2012-07-19 16:14 pengqinping 阅读(488) 评论(0) 推荐(0) 编辑
摘要: 四部曲: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... 阅读全文
posted @ 2012-07-19 14:55 pengqinping 阅读(558) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2012-07-19 14:14 pengqinping 阅读(302) 评论(0) 推荐(0) 编辑