Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Picking up and saving a contact in windows phone 7 app
Nanthini Subramanian
Feb 6 2015 1:32 AM
618
Reply
I have tried to choose contact from contact list in windows phone 7 app and I display it in a textbox. Now I want to save that contact in that textbox for future use of that application. How I can save a chosen contact from a windows phone in a text box. This is the code I tried.
PhoneNumberChooserTask phoneNumberChooserTask;
phoneNumberChooserTask = new PhoneNumberChooserTask();
phoneNumberChooserTask.Completed += phoneNumberChooserTaskOnCompleted;
phoneNumberChooserTask.Show();
private void phoneNumberChooserTaskOnCompleted(object sender, PhoneNumberResult phoneNumberResult)
{
if (phoneNumberResult.TaskResult == TaskResult.OK)
{ textBox1.Text = phoneNumberResult.PhoneNumber; }
}
Suggest me some codes. Thanks in advance.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Geocoding in windows phone 8
MenuDrawer in Windows Phone 8