I don't know if it's just me but I have some SMS messages whose address differs just enough to not have them returned with "querySms" method.
For example, it may be in the format of XXXXXXXXXX, or +1XXXXXXXXXX, or 1XXX-XXX-XXXX or a bunch of other permutations. I guess Android allows you to enter whatever and it will still take it.
Is there a way to make the address being specified in one particular format and have the results returned that match any of those variations?
For now, I just use the "getAllSms" method and filter out the results, but I don't think it's very performant to get so many results returned every time.
Hi,
I don't know if it's just me but I have some SMS messages whose address differs just enough to not have them returned with "querySms" method. For example, it may be in the format of XXXXXXXXXX, or +1XXXXXXXXXX, or 1XXX-XXX-XXXX or a bunch of other permutations. I guess Android allows you to enter whatever and it will still take it.
Is there a way to make the address being specified in one particular format and have the results returned that match any of those variations?
For now, I just use the "getAllSms" method and filter out the results, but I don't think it's very performant to get so many results returned every time.
Thanks!