05-11-2007, 04:20 PM | #1 |
Banned
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
CBZ Java Viewer for iLiad
I took the previous test case and buffed it up into a full fledged viewer.
Yeah, needs a background thread to fill a cache, but what do you want for something buffed up over lunch? Copy CBZViewer.jar and cbz.sh from the zip to your /home/intent then edit er_registry.txt with the following: Code:
[USER_APPLICATIONS] uaIDList=SHELL;BROWSER;IPDF;APABIMOBI;IMAGEVIEWER;SETUP;PROFILES;EBA;MOBIPOCKET;DJVU;CBZ [CBZ] category=viewer arguments=<FILENAME> exec=/home/intent/cbz.sh xResourceName=intent channel=15 extensions=cbz;CBZ [EXTENSION_INFO] bz=/usr/share/contentlister/Icon_mobipocket.png CBZ=/usr/share/contentlister/Icon_mobipocket.png |
05-11-2007, 04:29 PM | #2 |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
I've made an unrar binary for the iLiad. With that, would CBR support be possible as well?
|
Advert | |
|
05-11-2007, 06:01 PM | #3 |
Banned
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
I don't know, what do you mean by an "unrar binary"? If you mean an unrar JAR then yes, I could whip that into CBZViewer and rename it. Or you could post a CBRViewer!
Right now my weekend goals are to combine DJVU and CBZ into one viewer with a combined file format for saving the page number into. My current thinking is to use the Sony Reader's <cache xmlns="http://www.kinoma.com/FskCache/1"> for the file. That way when I port things like my existing RTF reader and a Java PDB viewer I'll also have a place to stash the page break data. |
05-11-2007, 07:56 PM | #4 |
fruminous edugeek
Posts: 6,745
Karma: 551260
Join Date: Oct 2006
Location: Northeast US
Device: iPad, eBw 1150
|
You are so cool.
Now I just need to get me some cbz files.... |
05-11-2007, 11:34 PM | #5 | |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Quote:
|
|
Advert | |
|
05-12-2007, 01:40 AM | #6 |
Banned
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
I discovered that some CBZ files don't internally store the files in order in the ZIP archive. Very strange if you ask me... so I've added code to sort the names so the pages will be presented in the correct order even when they aren't stored in sequence.
|
05-12-2007, 01:43 AM | #7 | |
Banned
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
Quote:
|
|
05-14-2007, 03:15 AM | #8 | |
iLiad fan
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
|
Quote:
And a better unzip (that actually works) would be nice to. Perhaps 7-zip can be compiled for ARM? Or p7zip, which is a port of the command-line 7-zip for Linux/Unix? |
|
05-14-2007, 04:02 AM | #9 | |
Enthusiast
Posts: 45
Karma: 198
Join Date: May 2007
Location: Italy
Device: iRex DR800
|
Quote:
|
|
05-14-2007, 05:20 AM | #10 | |
iLiad fan
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
|
Quote:
|
|
05-16-2007, 05:52 AM | #11 |
Member
Posts: 15
Karma: 194
Join Date: Dec 2006
Device: Sony eReader, iRex iLiad
|
I am not much of developer, but managed to do the steps described but alas no join .. the icon of a cbz file is still an X like with unsupported formats and opening the file gives a short led flash and nothing ... :-(
|
05-16-2007, 08:39 AM | #12 |
Banned
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
@mill0r I'd suggest using the Booster Pack version, it has the CBZViewer and it comes with an installer.
|
10-22-2008, 09:10 AM | #13 |
Cache Ninja!
Posts: 643
Karma: 1002300
Join Date: Jan 2007
Location: Tokyo, Japan
Device: PRS-500, HTC Shift, iPod Touch, iPaq 4150, TC1100, Panasonic WordsGear
|
Not meaning to resurrect a dead thread, but I was curious if RAR support was ever added to the CBZ viewer? If not, then maybe the unrar binary can still be used along with a script that renames CBR's to RAR, unrar's them to their own folders, and then deletes the original file. That way CBR's could be viewed like a photo album.
Just checking, thanks! |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
iLiad DJVU Viewer in Java on the iLiad | scotty1024 | iRex Developer's Corner | 61 | 07-14-2010 10:36 PM |
another image, cbr and cbz viewer | Max | iRex | 62 | 06-10-2010 01:57 PM |
My homebrew imanga (image, cbz, cbr viewer)! | ericshliao | iRex | 14 | 08-18-2009 11:50 PM |
iLiad Java Viewer Booster Pack | scotty1024 | iRex Developer's Corner | 46 | 02-06-2008 08:19 PM |
iLiad Java Powerpoint Viewer - Tonic Point | daemon1 | iRex Developer's Corner | 1 | 01-02-2008 03:59 AM |