|05-04-2007, 10:40 AM||#1|
Addicted to Porting
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
Irex's Java solution
It looks like iRex has licensed tao's Intenet Java software (http://tao-group.com/main.php?pageid...hp&temptype=t1) to run mobipocket.
It looks like it uses a program called "elate" to load a virtual image (target.img). Within that file, it calls "app/stdio/jcode" with the following options "-classpath MobipocketCoreReader.jar;kxml2-2.3.0.jar;irex.jar com.irex.mobipocket.reader.IrexReader" it also then requires the path of the mobipocket file.
I cannot use jcode to open a standard jar file, nor can I extract the image to locate other executables within it. I'll keep you posted with my progress.
|05-04-2007, 06:43 PM||#2|
Join Date: Apr 2007
Device: iliad/palm TX
Irex left some test classes in irex.jar
Had a look in the irex.jar file in /home/intent by copying it to pc and renaming irex.jar into irex.zip and unzip. There the classes show up. Using cavaj (the reverse of javac) decompiler you can have a look into the source code of the classes.
You can even run e.g. the SDKTest program. I made a copy of /user/intent/runmobi.sh to /user/intent/test.sh. Now change within test.sh com.irec.sdk.mobipocket.reader.IrexReader into com.irex.sdk.SDKTest and start ./test.sh blabla. In the meantime run in antoher shell a tail -f /tmp/ktrace.log and see the debug messages. On the screen of the iliad you will see some flashing of the screen and some more icons pop-up in the toolbar.
Also running a sample "helloworld.class" works when putting .; extra in the classpath. Graphical stuff I did not get working yet.
It looks like we have a j2me VM here. I'd love to get the AWT stuff working on the display. Using the irex classes the screen refresh etc. can be nicely incorporated in the java code.
It seems that iRex left quite some bits of debug code in the mobireader software. In the irex.jar SDK also a HelloWorld, a helloWorldAWT and some test script for security show up. When opening a mobipocket have a look at the tail -f /tmp/ktrace.log.
Last edited by azerty; 05-05-2007 at 10:53 AM. Reason: typo
|10-22-2007, 12:53 AM||#3|
Join Date: Oct 2007
Device: Iliad v2
Hmm, I wonder if they will buy the assets of Tao or switch to another JVM for the Iliad, see this article on the register:
If I understand UK bankruptcy laws this is something like Chapter 11 (re-organization) but in any case there won't be a lot of confidence in this stuff being maintained.
|10-22-2007, 03:53 AM||#4|
Join Date: Jan 2007
Device: Sony PRS500, Iliad
I got the shoulder bag too. It is extremely good for carrying the Iliad around. But the need for a jacket comes when the Iliad is being left on a table. I would prefer to cover its screen with something hard to prevent any accidental scatching, etc.
|07-10-2008, 11:00 AM||#6|
Join Date: Jul 2008
Illiad jar files
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Possible problem solution?||drl||Bookeen||7||05-20-2008 07:08 PM|
|My solution to Connect||Nogg||Sony Reader||43||08-12-2007 06:48 AM|
|iRex's Iliad Companion Software||Adam B.||iRex||1||01-15-2007 12:19 PM|
|iLiad How can I use iRex's cross-compiler toolchain?||yokos||iRex Developer's Corner||8||12-11-2006 07:53 PM|
|[Apple]Java Embedding Plugin 0.9.2: Force java to run in browsers other than Safari||Zire||Lounge||4||05-24-2005 10:12 PM|