下面是我的代码,我得到了android.database.CursorIndexOutOfBoundsException:Index-1requested,withasizeof2错误。谁能告诉我怎么解决?ContentResolvercr=getContentResolver();Cursorcur=cr.query(ContactsContract.Contacts.CONTENT_URI,null,null,null,null);if(Integer.parseInt(cur.getString(cur.getColumnIndex(People.PRIMARY_PHONE_ID