Home > Mobile > How do the android get SMS recipient's number, please
How do the android get SMS recipient's number, please
Time:10-04
As title, if it is a single card mobile phone, I can know the recipient's phone number,
But if it is double card mobile phone, how should I get corresponding message recipient phone number, is that the recipient is card 1 or 2?
Is there a API can get?
CodePudding user response:
https://developer.android.com/reference/android/provider/Telephony.Sms Inbox database one SUBSCRIPTION_ID (sub_id) fields, this is to distinguish the card 1 card 2