Hi ,
SMSReceiver code is working, its realy good ,but the thing is the msg can be send through emulator control can be notify.
If i want to send SMS how could i do that and how SMSReceiver will receive msg which is send by my application.



jchang1 wrote:Hello plusminus,
You mentioned that you can specify Intents to be fired on specific points in the lifetime of the SMS (such as delivered, failed, etc) -- do you know if this means those Intents would be fired on the sender's phone, or on the receiver's phone?
In other words, if I call SmsManager.sendTextMessage() from my local emulator, would those Intents be fired on my local emulator, it would they (theoretically) be firing on the phone which received the SMS?
Along those lines, and especially if the answer is the latter, do you know if there is any way to emulate those Intents? I know you can emulate incoming SMS messages to your emulator from the Telnet command line ("sms send 15551234567 hello there"), but that obviously only emulates the text of the message itself, and not any of the associated Intents (the ones that were included in the SmsManager.sendTextMessage() call).
Thanks very much,
Jeff

plusminus wrote:Hello Pushpa.Prakruthi,Using java Syntax Highlighting
SmsManager sm = SmsManager.getDefault(); sm.sendTextMessage(destinationAddress, null, "Hello world", null, null, null);Parsed in 0.034 seconds, using GeSHi 1.0.8.4
Where I placed null, you can also put Intents to be fired on specific points in the lifetime of the SMS(like delivered/failed/...).Using java Syntax Highlighting
void sendTextMessage(String destinationAddress, String scAddress, String text, Intent sentIntent, Intent deliveryIntent, Intent failedIntent) Send a text based SMS.Parsed in 0.036 seconds, using GeSHi 1.0.8.4
I hope I could help you.
Regards,
plusminus




sumeet_3885 wrote:hi all ,
i send and Rx sms successfully by my own application now i want to make another application to send MMS and Rx MMS so can any body him me out hoew i start?
thax in advance
sumit (':wink:')

Return to Other Coding-Problems
Users browsing this forum: No registered users and 9 guests