This week's book giveaway is in the Java in General forum. We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line! See this thread for details.
Compare the text in the txt file to Textbox in J2ME?
posted 5 years ago
Hello, good morning.
I'm using a J2ME language. I'm coding a SMS Textspeak Corrector. SMS Textspeak Corrector is a mobile application which will correct the shortcut words that the user typed in the Create Message.
What I want to happen is, I'm going to create a ".txt" file which contains all the shortcut words along with the original words. The shortcut words will be replaced with the original words in the Textbox.
Now my problem is, how will I compare the text in the Textbox to the ".txt" file which contains the shortcut and original words?
This is what I like to happen:
After typing the message, select Correct Textspeak: