Forums Register Login

Sending SMS from Emulator

+Pie Number of slices to send: Send
Hi guys,
is it possible to send and recieve SMS from Emulator to an MMSC?
any info would be highly appreciated
thanks,
Sachin
+Pie Number of slices to send: Send
Hi guys,
let me rephrase my question. is it possible to send/recieve sms from an emulator?it has to go via telco and not from one emulator to another. is this possible?we have NowSMS as gateway but im not sure how to link it to the emulator?
These are the URLs but im not sure how to link the MMSC gateway to this
sms://+417034967891
sms://+417034967891:5678
sms://:5678
cbs://:5678

String url = "sms://:5678"; // no phone number!

try {
conn = (MessageConnection) Connector.open( url );
while( true ){
Message msg = conn.receive(); // blocks
if( msg instanceof BinaryMessage ){
byte[] data =
((BinaryMessage) msg).getPayloadData();
// do something here
} else {
String text =
((TextMessage) msg).getPayloadText();
// do something here
}
}
}

please help me here,.
thanks,
Sac
First, you drop a couch from the plane, THEN you surf it. Here, take this tiny ad with you:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 797 times.
Similar Threads
setting up emulator in 2 different machine
sending sms using wma
Emulators for Nokia 40 series
install WMA RI into Sun one Studio
SMSDemo example Help
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 03:27:42.