Humm, that is something interesting. You neeed to look into UseCases of the senarios you want. Do you just want a simple phone book as we have in the cell phone, where you can insert name and number and get them when you need it?
Joined: Feb 12, 2010
Yes Aditya, I want to create a simple phone book that you use in your mobile phone. User can add names, phone numbers and e-mail address.
I have already mentioned that I have found some source code examples to create a phone book. If you share your ideas and your experiment, I will appreciate. I can think properly. Thank you for your interest.
What you do is going to depend on what you need. Do you need to be able to lookup a name given a number? do you want to do partial matches (i.e. "314" would give you every phone number starting with those digits")? Is the lookup dynmaic (I.e. I enter "f" and get a large list, then hit "r" and the list shrinks, etc). Do you want to store photos of the person who's number it is?
Is speed more important than memory? Will this run on a phone, a laptop, a desktop? does it have to be available from multiple devices?
The list goes on and on. You can't really do much of any design until you figure out what you want, as each requirement is going to influence your final design.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com