I'm going to load the information in the Android address book in db format and display it in the listview.

Asked 2 years ago, Updated 2 years ago, 23 views

I'm going to load the information in the Android address book in db format and display it in the listview. How should we approach it?

java android

2022-09-22 12:56

1 Answers

Depending on what information you want to show in ListView, the table you need to access is different, so I think it's a good idea to take a look at how the Android address book database is organized. The address book can store a variety of information, and the concept of an account exists, so it has a more complex structure than you think. The address book consists of three tables:

I think you should read the document below for more information.

Although the contact database is complex in structure, it is not difficult to implement only the ability to read contacts. I attached a link that is easily explained with the source code.


2022-09-22 12:56

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.