- Jun 6, 2020
- 11,559
- 4,422
I am making an sms app.
When I try to populate the history of each conversation I am using the SmsMessages object to get a list of Sms objects.
I can parse out the information in each sms from the list, but I haven't been able to reliably flag incoming vs outgoing messages.
So far I've noticed that some start with a "+" in the Address, and Type "1" vs "2" seem to mark some of them, but I still can't flag all of the outgoing messages in each conversation and am wondering if there's a way to get that information so that I can correctly handle incoming vs outgoing.
I also can't find anywhere on here what the sms types are if that would solve it.
Thank you so much for any help.
When I try to populate the history of each conversation I am using the SmsMessages object to get a list of Sms objects.
I can parse out the information in each sms from the list, but I haven't been able to reliably flag incoming vs outgoing messages.
So far I've noticed that some start with a "+" in the Address, and Type "1" vs "2" seem to mark some of them, but I still can't flag all of the outgoing messages in each conversation and am wondering if there's a way to get that information so that I can correctly handle incoming vs outgoing.
I also can't find anywhere on here what the sms types are if that would solve it.
Thank you so much for any help.
برای دیدن لینک ها باید ثبت نام کنید