HelloCW
HelloCW

Reputation: 2255

What is the difference between _id and thread_id?

I find there are two fields _id and thread_id in SMS database, What is the difference between _id and thread_id ? If I want to delete a sms by ID, which field should I use? _id or thread_id ? Thanks!

Upvotes: 3

Views: 351

Answers (1)

Blackbelt
Blackbelt

Reputation: 157457

the _id is the primary autoincrement key for the sms ContentProvider, the thread_id is the id of a particular conversation

Upvotes: 6

Related Questions