Joke Collection Website - Blessing messages - How to get the names of sender and receiver in android SMS database
How to get the names of sender and receiver in android SMS database
The name is not stored in the SMS database, only the number of the recipient is stored.
The recipient_ids field in the thread table indicates which recipients are in this conversation, and the specific information of recipients/senders will be stored in the canonical_addresses table.
According to the number, you can query the contact database and get the recipient's name and other information.
Please refer to Contact.java getContactOffphone Number (string number) for contact information inquiry method.
/5. 1. 1 _ R6/xref/packages/apps/Mms/src/com/Android/Mms/data/contact . Java
- Related articles
- Solution of millet cut-off
- How about my music box? The latest photos of my music cabinet.
- How to uninstall the plug-in installed on the computer?
- Model essay 1000 words of college students' flower shop business plan.
- How to send messages on the computer, or what short message website doesn't cost money?
- What should I do if my JD Express is lost?
- Advantages and disadvantages of transmitting information
- A friend I haven't heard from for a long time suddenly asks you to have a wedding reception. How can you refuse if you don't want to go?
- What if the typing card of Apple's mobile phone gets stuck?
- Can a counter in a different place cancel the SMS notification of ABC?