TJNotepad is a simple and open source java notepad for mobile phones that can open any kind of file in text mode. It is useful to view files using text reading stream.
I used a File Browser control to select a file. By using a command, user will be able to choose a file. The file content is copied to a new openInputStream. Then the stream converted to bytes via read function. At last by using setString(), the bytes will be displayed in string form on a textBox.
It is really simple. If you have any other questions, just feel free to ask.
5 comments:
you designed this notepad????
Hi Abhishek...
Yes, but it is really simple ;-)
Good LucK bro
can u explain the source code to me....???
Of course dear Abhishek...!
I used a File Browser control to select a file. By using a command, user will be able to choose a file. The file content is copied to a new openInputStream. Then the stream converted to bytes via read function.
At last by using setString(), the bytes will be displayed in string form on a textBox.
It is really simple. If you have any other questions, just feel free to ask.
Good Luck
Armin ;-)
thnkx bro...
Post a Comment