i want to goes through some condition statement when a user hit a "send sms" button and thus if condition is satisfied then send the sms otherwise abort the composed sms ! can any one help me ?
Asked
Active
Viewed 87 times
0
-
@AliImran i think you have't understand my problem, the link you given is fake for this problems.any how it was good try ! – Pir Fahim Shah Dec 16 '12 at 17:58
3 Answers
1
This is not possible. Any application can use SmsManager
to send an SMS, and such messages cannot be intercepted, except perhaps by custom firmware.
You can't block an outgoing sms. You can find out about it only after it has been sent. And you can do it by registering a content observer for sms, when the sms comes to sent box.

Raghav Sood
- 81,899
- 22
- 187
- 195
-
yeah i was also thinking the same, so if will check a condition for my new sms before it delivered to some one, then i think i have to developed my own sms apps where my user will send their sms from that plat form, am i right ? – Pir Fahim Shah Dec 16 '12 at 18:03
-
1
No there is not broad cast activity to use it when sms is going to send,
1
It is good question, when you are working by using any builten application in android, then it gives you some facility upto some extent, but you can't cross the limit. If You want to control the send button of builten apps then it is impossible. You can't do this in android.

Syed Nizam
- 21
- 4