Hi All, I also want to achieve the same goal as said by Mr Aftab.
The Goal I want to achieve: (As you have seen many apps in market like "Truephone" those intercepts outgoing calls and abortBroadcast(); and take user decision to call via GSM or via their apps.) So i want to achieve this goal with "out going sms" as with "out going calls". I want to take user decision on "out going sms" that he want to "send sms" Via operator or via my application. but I don't know how to achieve it. Any solution or any other way to achieve it so please let share with us. I am waiting for your response????? Thanks in advance. Gulfam Hassan On Nov 18, 6:05 pm, Mark Murphy <mmur...@commonsware.com> wrote: > Iffi wrote: > > Hi All, > > > i have read a few posts about somehow intercepting the outgoing SMS. > > > after some googling i was able to intercept the outgoing SMS by > > getting the outbox. > > > Now the problem is that when the SMS comes to outbox i try to delete > > it at the same time, the API shows that the row was deleted from > > outbox but it is sent to the desired phone number as well :S. > > > I was thinking of changing the SMS center number programatically and i > > didnt get a clue. > > more over if there is a way the outbound sms can be stopped before > > being sent then plz guide me that way. > > I sincerely hope that it is impossible without firmware modifications. I > certainly no of know way to achieve what you are seeking. And what > little you have achieved is outside of the public SDK and therefore is > likely to break in the future and on OEM-customized devices. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Android 1.6 Programming Books:http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en