I'm making a widget that will start a broadcast receiver, and send a auto-reply message to anyone that texts the device. My SmsReceiver class is working fine, but to launch my sendSMS method in my SMS_Sender class, I must change the method to static. This will not work however, because I have other receivers and intents to verify that the auto-reply is sent/delivered/etc. This is what I am trying to use to call my method from my SmsReceiver class:
- Code: Select all
So my questions is, how do I launch a non-static method to and send an auto-reply from a broadcast receiver catching text incoming text messages.
Thanks in advance for any advice,