I have a broadCast receiver class which listens on Switching off the phone, Now i wanted to send Sms when the phone is Switching off. Is it possible or not?
If their phone is turned off, the message will only say sent. Once they turn their phone on, the message will be delivered to the handset.
The easiest way to get this sort of functionality is Google's “Messages” app. Sync up the web version with your phone and then you could view all your texts and even send and receive text messages all with your phone turned off. How do I divert an SMS from one person to my phone without him knowing?
check out this example of smsmanager.
Visit http://mobiforge.com/developing/story/sms-messaging-android
this is simplest example of SMSMANAGER.....
http://android-er.blogspot.com/2011/03/send-sms-using-androidtelephonysmsmanag.html
How can I send an SMS from a BroadcastReceiver and check its status?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With