hi.. I m developing an mobile CLDC application and It is an SMS related application. Every character in the message is to be replaced with a string. So,
should I maintain a database table of that replacment strings which scans and replace this entry OR
should I apply through code like if(char A found) then replace it with some string.
I am doing this for compressing the SMS data, so if there is any technique for achieving text to text compression, please tell me. Please help me in this problem.....
posted 8 years ago
There are many techniques for compressing data, but the cldc is a remakably limited api and does not have a compression routine. For most compression, use Lempel-Ziv-Welch (LZW), which is the same as the java archive file compression uses, the library is available in Java - already useable. See: Compression (Zips & JARs) Code Samples
"The differential equations that describe dynamic interactions of power generators are similar to that of the gravitational interplay among celestial bodies, which is chaotic in nature."