Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex > iRex Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 05-04-2007, 09:40 AM   #1
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,695
Karma: 7194
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.
Adam B. is offline   Reply With Quote
Old 05-04-2007, 05:43 PM   #2
azerty
Junior Member
azerty began at the beginning.
 
Posts: 8
Karma: 10
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 09:53 AM. Reason: typo
azerty is offline   Reply With Quote
 
Enthusiast
Old 10-21-2007, 11:53 PM   #3
ebookie
Entrepreneur
ebookie began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Oct 2007
Location: California
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:
http://www.theregister.com/2007/06/1...dministration/

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.

--Chuck
ebookie is offline   Reply With Quote
Old 10-22-2007, 02:53 AM   #4
quek
Enthusiast
quek will become famous soon enoughquek will become famous soon enoughquek will become famous soon enoughquek will become famous soon enoughquek will become famous soon enoughquek will become famous soon enough
 
quek's Avatar
 
Posts: 29
Karma: 501
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.
quek is offline   Reply With Quote
Old 10-22-2007, 02:53 AM   #5
quek
Enthusiast
quek will become famous soon enoughquek will become famous soon enoughquek will become famous soon enoughquek will become famous soon enoughquek will become famous soon enoughquek will become famous soon enough
 
quek's Avatar
 
Posts: 29
Karma: 501
Join Date: Jan 2007
Device: Sony PRS500, Iliad
Sorry, wrong thread.
quek is offline   Reply With Quote
Old 07-10-2008, 10:00 AM   #6
illiad_fan
Member
illiad_fan began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2008
Device: Illiad
Illiad jar files

Quote:
Originally Posted by Adam B. View Post
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.
Hi Illiad gurus, I'm an Illiad newbie, I'm researching about Java Illiad SDK. However, I have not bought an Illiad yet. I intend to discovery the SDK before buying one. Could you please send me the link to download these files: irex.jar:MobipocketCoreReader.jar:decoder.zip
illiad_fan is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible problem solution? drl Bookeen 7 05-20-2008 06:08 PM
My solution to Connect Nogg Sony Reader 43 08-12-2007 05:48 AM
iRex's Iliad Companion Software Adam B. iRex 1 01-15-2007 11:19 AM
iLiad How can I use iRex's cross-compiler toolchain? yokos iRex Developer's Corner 8 12-11-2006 06:53 PM
[Apple]Java Embedding Plugin 0.9.2: Force java to run in browsers other than Safari Zire Lounge 4 05-24-2005 09:12 PM


All times are GMT -4. The time now is 12:39 AM.


MobileRead.com is a privately owned, operated and funded community.