Sending SMS to particular port
| Wed, 2007-09-12 05:50 | |
|
|
Has anyone been successful in doing this? Please help me guys..
Kannabiran.K |
| Wed, 2007-09-12 05:50 | |
|
|
Has anyone been successful in doing this? Please help me guys..
Kannabiran.K |
Forum posts: 13
hi,
In my application i am using the below code for setting the port but its not working.... the message send, but not to the specific port... Its coming to inbox
TSmsAddr smsaddr;
smsaddr.SetSmsAddrFamily(ESmsAddrSendOnly);
smsaddr.SetPort(16500);
Any one know how to set the port number (16500) in symbian for S60 3rd Edition please help me?
Thanks & Regards
Kannabiran.K
Forum posts: 13
Again one doubt...
In J2me my port listener settings code is...
MessageConnection smsconn;
smsconn = (MessageConnection)Connector.open("sms://:16500" )
smsconn.setMessageListener(this);
Is there any problem with this...
But this code is working with J2me application which sends message to that port...
Please anyone help me..
Thanks & Regards
Kannabiran.K
Forum posts: 235
try this link....
http://newlc.com/Sending-a-message-from-Symbian-C.html