19743

Where to store a contact list on an Android phone?

I want to create a new contact list just like blacklist to store few phone numbers in android. which storage medium we need to use ??

Answer1:

Do you wish to store them seperately from the main phone contact list? If so, user your own database. If not, consider adding some tag/attribute to contacts in the phone's contact list - you can then use this to identify your contacts later.

Also, if you're storing a list yourself and intend to store standard contacts in it, you'll need to make sure you have some unique mechanism for linking your contact the the phone's (what if someon changes name/phone number/???)

Without more information, it's not possible to give a comprehensive answer

Recommend

  • Javascript regex placeholder prints string instead of its value
  • “auto.arima” in SAS?
  • how to upload multiple images in to a server?
  • is there a way to stop HTMLPurifier/CSStidy from forcing input CSS into all lowercase?
  • Ember Select set default value
  • Spannable text is too wide for TextView
  • How to configure javadb in eclipse?
  • How to get or calculate size of Azure File/Share or Service
  • How to force refresh on CallLog.Calls.CACHED_NAME column?
  • Where to save the local DB created for iphone app?
  • Submission of new app with iAds
  • Get rendered html code in Backing Component from Composite Component
  • get passwords from chrome
  • Does the Azure table storage API cache results?
  • testing a POST using phpunit in laravel 4
  • How do I include a SWC in an AS2 Flash project?
  • How to add a focus style to an editable ComboBox in WPF
  • How do I superscript characters in a UIButton?
  • Disable Enter in editText android
  • Cannot resolve symbol 'MyApi'
  • If I include Java 8 in my Android app does that affect which devices it will work on?
  • Is my CUDA kernel really runs on device or is being mistekenly executed by host in emulation?
  • output of program is not same as passed argument
  • How to extract text from Word files using C#?
  • How to check if every primary key value is being referenced as foreign key in another table
  • Sending data from AppleScript to FileMaker records
  • what is the difference between the asp.net mvc application and asp.net web application
  • Release, debug version and Authorization Google?
  • Akka Routing: Reply's send to router ends up as dead letters
  • Turn off referential integrity in Derby? is it possible?
  • Authorize attributes not working in MVC 4
  • Add sale price programmatically to product variations
  • unknown Exception android
  • Checking variable from a different class in C#
  • Busy indicator not showing up in wpf window [duplicate]
  • How to get NHibernate ISession to cache entity not retrieved by primary key
  • Unable to use reactive element in my shiny app
  • Python/Django TangoWithDjango Models and Databases
  • Net Present Value in Excel for Grouped Recurring CF
  • How do I use LINQ to get all the Items that have a particular SubItem?