hi
how to get phone number from contact to textbox
i try this:
Intent i = new
Intent(android.content.Intent.ACTION_PICK);
i.setType(ContactsContract.CommonDataKinds.Phone.CONTENT_TYPE);
startActivityForResult(i,request_Code);
txtPhoneNo.setText(i.toString());
but i got something like: Intent {act=android.intent..........
and not the phone number
how to get the phone number into the textbox ?
thanks inadvance
how to get phone number from contact to textbox
i try this:
Intent i = new
Intent(android.content.Intent.ACTION_PICK);
i.setType(ContactsContract.CommonDataKinds.Phone.CONTENT_TYPE);
startActivityForResult(i,request_Code);
txtPhoneNo.setText(i.toString());
but i got something like: Intent {act=android.intent..........
and not the phone number
how to get the phone number into the textbox ?
thanks inadvance