Answered by:
Mini telephone book metro style application

Question
-
Hi,
I want to make a metro style mini telephone book that can store 100 - 500 names and telephone numbers.
Question is: where to store the telephone numbers and names?
I want to have Add/Remove telephone number capability in my app so that user can add/remove numbers.
Thanking in advance.
Tuesday, February 28, 2012 7:48 AM
Answers
-
Hello,
I think you can use a ListView control to show the telephone numbers and names. Please follow this document:
http://msdn.microsoft.com/en-us/library/windows/apps/hh465496.aspxAnd then follow this document to store files.
http://msdn.microsoft.com/en-us/library/windows/apps/hh464978.aspxBest regards,
JesseJesse Jiang [MSFT]
MSDN Community Support | Feedback to us
- Proposed as answer by Jeff SandersMicrosoft employee, Moderator Tuesday, February 28, 2012 3:12 PM
- Marked as answer by Jie Bao Tuesday, March 6, 2012 5:06 PM
Tuesday, February 28, 2012 9:03 AMModerator -
You probably are best off storing the file in the application local store and not one of the other known folders:
http://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.applicationdata.aspx
WriteText and Read text on the local folder is the easiest way to do this.
-Jeff
Jeff Sanders (MSFT)
- Proposed as answer by Jeff SandersMicrosoft employee, Moderator Tuesday, February 28, 2012 3:13 PM
- Marked as answer by Jie Bao Tuesday, March 6, 2012 5:06 PM
Tuesday, February 28, 2012 3:13 PMModerator
All replies
-
Hello,
I think you can use a ListView control to show the telephone numbers and names. Please follow this document:
http://msdn.microsoft.com/en-us/library/windows/apps/hh465496.aspxAnd then follow this document to store files.
http://msdn.microsoft.com/en-us/library/windows/apps/hh464978.aspxBest regards,
JesseJesse Jiang [MSFT]
MSDN Community Support | Feedback to us
- Proposed as answer by Jeff SandersMicrosoft employee, Moderator Tuesday, February 28, 2012 3:12 PM
- Marked as answer by Jie Bao Tuesday, March 6, 2012 5:06 PM
Tuesday, February 28, 2012 9:03 AMModerator -
You probably are best off storing the file in the application local store and not one of the other known folders:
http://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.applicationdata.aspx
WriteText and Read text on the local folder is the easiest way to do this.
-Jeff
Jeff Sanders (MSFT)
- Proposed as answer by Jeff SandersMicrosoft employee, Moderator Tuesday, February 28, 2012 3:13 PM
- Marked as answer by Jie Bao Tuesday, March 6, 2012 5:06 PM
Tuesday, February 28, 2012 3:13 PMModerator