Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to send sms on switching off the phone in android?

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?

like image 880
Prem Singh Bist Avatar asked Jan 17 '12 07:01

Prem Singh Bist


People also ask

Will SMS send if phone is off?

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.

How do you get SMS when phone is switched off?

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?


1 Answers

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?

like image 145
SilentKiller Avatar answered Oct 12 '22 23:10

SilentKiller