View Single Post
Old 05-06-2010, 01:14 PM   #4
wiffel
Member
wiffel is on a distinguished road
 
Posts: 19
Karma: 72
Join Date: Dec 2008
Device: bebook
Quote:
Originally Posted by Tumaini View Post
So it's indeed running something similiar to J2ME?
I've coded some for mobile phones before so that's very good news.
Yes, it is similar to J2ME. I think I actually used a J2ME dev toolchain to make the hello world thingy.
Quote:
Originally Posted by Tumaini View Post
Big thanks for the example code, I see now how to set it up on the device (I think).
How did you find the classes.jar (or the contents from Jinke), is the source for those libs available somewhere?
Some time ago I did make an adapted version of the firmware. To do that, I had to extract all the files of the firmware first. So, I do have all of the files of the firmware on my machine including the 'classes.jar'. I'm afraid there is not very much extra info besides that.

I did try to port mochalua (a java implementation of Lua) some time ago, but stopped with that. Attached you find the two main files of that project. You can neglect the part that has to do with Lua, but it also shows how to handle key-presses and drawing onto the screen. It's very unmature code, but maybe it can help you a bit further.

Wilfried

Good luck
Attached Files
File Type: zip hello.zip (1.2 KB, 538 views)
wiffel is offline   Reply With Quote