I am learning from a tutorial, and the following code doesn’t work:
SmsMessage msg[] = Telephony.Sms.Intents.getMessagesFromIntent(intent);
I think it is no more part of the framework, but I haven’t found what to use instead.
How can I get the sms message? (this is in the onReceive method of a BroadcastReceiver)
I found a solution 🙂