Java code for sending EMS

Java code for sending EMS SearchSearch
Author Message
Stoner2008
New member
Username: Stoner2008

Post Number: 10
Registered: 05-2013
Posted on Wednesday, July 17, 2013 - 01:54 pm:   

hi,
i wrote a small java program to send sms.if i put <i> and <u> in my text and i use my java program to send it, it will be received as EMS (italic style...) ?
thanks
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4573
Registered: 08-2008
Posted on Friday, July 19, 2013 - 03:11 pm:   

Hi,

Before you spend too much time on this, try sending an EMS message with text formatting from the NowSMS interface.

My experience is that neither Android nor iPhone support EMS and the text is shown without formatting. So the audience that can actually see the EMS formatting is rather limited.

It's a shame, as EMS was a cool enhancement to SMS, and was added to the core SMS specifications by ETSI/3GPP ... but supporting it is optional.

Programatically, to send with EMS formatting, use &EMSText= instead of &Text= ... depending on libraries that you use for HTTP, you may need to URL escape "<" and ">". Examples are given here: http://www.nowsms.com/doc/submitting-sms-messages/sending-ems-messages

--
Des
NowSMS Support