I'm using Logica SMPP api for sending sms. I'm able to send plain english messages with default data coding as "0"
Now if I want to send sms in other language such as hindi or chinese, what are the different values I should set..
Should I create a UDH for the same ?
wht data coding should I use?
wht esm class should I set ?
should I send the data as unicode?
Any suggestions on this will be very useful.
Looking through the API, I'd guess that ShortMessage.setEncoding() is the relevant method here.
Related
What is the importance of Content ID in mail? Is there any difference in the way this value is set across the most popular mail clients say Thunderbird, Microsoft Outlook and so...
What are things a developer should have in mind while providing a service that is related to reading mails sent from different clients to provide cross client compatibility, specifically with Content ID?
Thanks and Regards,
The first thing to keep in mind is that the Content-ID header for a body part is optional. It's mostly only needed for multipart/related parts.
You should read RFC 2045, which defines the Content-ID header.
What were you planning to use the Content ID for?
I know how to send SMS messages through a GSM modem, but I am trying to send a message to a specific port, e.g. 5000. I don't have any idea how to do this; please help me.
Time to break out good old GSM 03.40! You need a TP-User-Data field, Information Element Identifier 0x04 and/or 0x05, depending on which port you want to use. How to do that in your particular API which you have not told us anything about is up to you.
I'm creating an android app that will convert SMS text messages to speak via the TTS api.
This will work well when texts are written in proper English, however when text messages contain smileys and abbreviations, these will be output as garbled worlds from the TTS engine.
Stripping smileys from the text can probably be done with a regex, however is there any API that can detect abbreviations and replace them will the full words?
For example, is there something that would intelligently be able to determine that this :
hi hw r u 2day?
into
Hi, how are you today?
There is an online service that does it - http://www.lingo2word.com/translate.php
Check what they use - or activate it as a web service from your app.
Another one: http://www.dtxtrapp.com/index.htm
You could write a custom class to do this easily. Think of using something like a key/pair data structure.
r -> are, u -> you, 2day -> today, ur -> your
My application sends and receives message in English.But I want a functionality by which, whenever a new message is received,it would be in English,but when user reads message it should be readable in Hindi language.
Is there any solution for that??
Use the google api
Google Java Translation
I have a group that needs to send out announcements and current events via phone text message. I want to have a central phone number that when it receives a text message, it rebroadcasts that message to a growing list of subscribers. I'm hoping to use a Google Voice number to avoid buying an actual phone number.
Any ideas? I've thought about some type of Java/HTMLunit that continually parses the GVoice html inbox, but I just have that computer-gut feeling that there is a more intuitive way. I haven't been able to find a GVoice API, as I imagine that would be the trick.
Thanks
I've used a different approach. There's a number of E-mail to SMS services out there. So you send an e-mail (using standard JavaMail) to a specific address that is then associated with mobile phone numbers. I use TextMagic, but there are also other similar services out there. They also have API support, if thats what you'd prefer.