I have been developing the application which must recognize SMS commands. So, I need to know how I can get the last sms. I know that I need to use BroadcastReceiver (and I use it), but I don’t know how I can get the last sms in this class. Please, help me with it, I hope you can do it. Thank you in advance.
I have been developing the application which must recognize SMS commands. So, I need
Share
see below code it may help you.
now get last massage you have to do this.
if it is correct then make it right.