SMS Attached Text File in J2ME

SMS Attached Text File in J2ME SearchSearch
Author Message
Saravanan K
New member
Username: Saran

Post Number: 1
Registered: 06-2005
Posted on Monday, June 27, 2005 - 11:02 am:   

I am developing an J2ME application.In that, I have to send SMS with attached text file to the contacts in the Contact List.Is it possible to attach text file in SMS?.If it is possible, please anyone explain the steps to finish that task.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 4673
Registered: 10-2002
Posted on Wednesday, July 27, 2005 - 09:27 pm:   

What exactly are you trying to accomplish by sending this text file? In other words, what do you want the receiving client to do with the received text file?

SMS doesn't support any concept of "attachments".

You could send a WAP Push message with a URL link to an attachment that can be downloaded from a server. (Or you could send a text SMS with that same server link, and many phones would allow the user to fetch that link.)

But that doesn't sound like a solution for your application.

Depending upon what you're trying to do, and how much text, maybe sending a long text message (concatenated text message, allowing you to send multiple SMS messages that are recombined at the receiving end, so that you can break the 160 character limit) would do the trick? I don't know what the considerations are for doing that in J2ME ... but note that many devices cannot handle concatenated SMS with more than 5 parts ... and you can get 153 characters max per part in a concatenated message (7 character overhead in each part).

-bn