Re: [android-developers] Contact Number

2012-01-24 Thread Bharath kumar Thota
Hi, Thanks for the help, Could be some more clear in the ans please becoz I did not get the requirement. On Tue, Jan 24, 2012 at 3:28 PM, poncho wrote: > Hi, > > 1) You should call the contact picker using startActivityForResult > 2) You should override onActivityResult and parse the data retur

Re: [android-developers] Contact Number

2012-01-24 Thread poncho
Hi, 1) You should call the contact picker using startActivityForResult 2) You should override onActivityResult and parse the data returned from the contact picker. Something like: ... Uri result = data.getData(); String id = result.getLastPathSegment(); Cursor cursor = getConte

[android-developers] Contact Number

2012-01-24 Thread Bharath kumar Thota
Hi, I am a newbie to android and while developing i got stuck up at a point and there by i could not move further.Please some one help me to solve my problem. My problem is as follows.. I wanna get the phone number of a particular contact into the edit text i.e., When i select a contact from the c