This may sound strange but I want to get to which number I've received SMS on, on my phone. I can get the mobile number for the SIM present inside with telephonyManager.getLine1Number()
(although it is not guaranteed that I'll get the phone number). But what in case I have two SIMs present in my phone. As telephonyManager.getLine1Number()
will only return me SIM info for first/active SIM only.
Edited : I also tried to get all the info that I get whenever I receive any SMS, but I could not find anything interesting.
So is there any way to get recipient's number (and not sender's number) from the SMS received?