If my mobile is not reachable or switched off when someone calls then I want to send sms to that particular person by automatically. How can i achieve this through code? Please help me.
Asked
Active
Viewed 1,098 times
0
-
2if your mobile is off then how can you send sms? – stinepike Aug 05 '14 at 09:13
-
I think, only telco (Your mobile carrier) can do this. If your phone not able to receive call or anything else , how it could send sms? – Mobi Aug 05 '14 at 09:17
-
You will need to write your "CODE" for your service provider and make sure he uploads your "Code" to his server. – Parth Kapoor Aug 05 '14 at 09:31
-
Is this possible to send sms when the phone backs to on state or reachable? – Sridhar Aug 05 '14 at 10:02
2 Answers
2
This, I believe, is impossible. If someone rings you, and you have no signal, then how is your phone meant to know? If it did know, surely your phone would actually RING instead?

jbutler483
- 24,074
- 9
- 92
- 145
0
You need to create service with phone state listener ANdroid Development - Call state of the phone
and when you have call back send sms Sending text messages programmatically in android