Sending a picture message

Sending a picture message SearchSearch
Author Message
Doris Tie
Unregistered guest
Posted on Tuesday, October 05, 2004 - 03:48 am:   

Hi Folk,

I am new in the mobile tech world.
I am now trying to send a picture message in bmp file to mobile phone. Can anyone give me some idea how to do it? I understand that i would need to convert it into a hex string and send this hex string. What kind of tools is available for the conversion ? I have use d file2hex tools, but d header is kind of different ??

Please advice.

Thanks

Doris
Lars Nielsen, MobileNation ApS - Denmark
New member
Username: Larsmservice

Post Number: 88
Registered: 10-2003
Posted on Tuesday, October 05, 2004 - 07:44 am:   

Nowsms has a small exe file in the nowsms root dir called file2hex.exe which is good for converting. Read the file2hex.txt file for more information.

Or take a look at www.mobil112.dk. That is a small freetime site where you can convert your picturemessages to hex by uploading the bmp file.

;)Lars
devaraj
Unregistered guest
Posted on Wednesday, January 05, 2005 - 12:06 pm:   

HI,

Hi I am testing the mobile content(Picture message) delivery through one of the telcoes.

I am successful to convert a picture message to hex String using the hex.encode(byte[]) available in org.apache.soap.encoding.Hex package.
After converting I am splitting the hex string to corresponding number of strings having legth 160 charectors.

After splitting is it needed to add a UDH details in front of every splited content fragments? if so how to create the UDH and what is the details I have to include?


Right now I am sending out the content to the mobile device through telco without adding the UDH details after the conversion to hex format and splitting. But in the mobile device I am getting a message 'the message cant be displayed here' instead of the getting the real content.

I got strucked with this problem. Please direct me how to resolve this.


Regards

Dev