View Single Post
Old 02-08-2010, 02:54 PM   #38
kacir
Wizard
kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.
 
kacir's Avatar
 
Posts: 3,450
Karma: 10484861
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
Quote:
Originally Posted by orwell2k View Post
v0.7.0 won't open ePub or FB2 on my PB360 - anyone else have a problem? It thinks for some seconds (with the hourglass) then just refreshes the menu like nothing happened.

I copied FBReader to /system/bin/ and copied the /share folder to /system (i.e. copied /system to my device) - nothing else.

Will revert to 0.6.0. Cheers!
You have used extensions.cfg from the archive without examining its contents or understanding how it works.

For the extensions.cfg that is part of the installation archive to work you have to rename the new fbreader.app to fbreader180.app before copying it to <device>/system/bin


Here is what I did:
I have renamed the newest fbreader version 0.7 to fbreader07.app
I have also renamed previous version 0.6 to fbreader06.app
I have copied both files into
<device>/system/bin
There must not be file called fbreader.app in <device>/system/bin - so you could use the original FBReader provided by PocketBook in their firmware.

Then I have used the Linux console and I have located extensions.cfg file in the filesystem and copied it into card. (So you do not have to ;-) )
I have edited my extensions.cfg this way:
Code:
txt:@Text_file:1:fbreader07.app,fbreader06.app,fbreader.app:ICON_TXT
fb2:@FB2_file:1:fbreader07.app,fbreader06.app,fbreader.app:ICON_FB2
htm:@HTML_file:1:fbreader07.app,fbreader06.app,fbreader.app:ICON_HTM
html:@HTML_file:1:fbreader07.app,fbreader06.app,fbreader.app:ICON_HTM
php:@HTML_file:1:fbreader07.app,fbreader06.app,fbreader.app:ICON_HTM
cgi:@HTML_file:1:fbreader07.app,fbreader06.app,fbreader.app:ICON_HTM
asp:@HTML_file:1:fbreader07.app,fbreader06.app,fbreader.app:ICON_HTM
jsp:@HTML_file:1:fbreader07.app,fbreader06.app,fbreader.app:ICON_HTM
pl:@HTML_file:1:fbreader07.app,fbreader06.app,fbreader.app:ICON_HTM
chm:@Z_HTML_file:1:fbreader07.app,fbreader06.app,fbreader.app:ICON_CHM
rtf:@RTF_file:1:fbreader07.app,fbreader06.app,fbreader.app:ICON_RTF
doc:@DOC_file:1:fbreader07.app,fbreader06.app,fbreader.app:ICON_DOC
docx:@DOC_file:1:fbreader07.app,fbreader06.app,fbreader.app:ICON_DOC
docm:@DOC_file:1:fbreader07.app,fbreader06.app,fbreader.app:ICON_DOC
prc:@PRC_file:1:fbreader07.app,fbreader06.app,fbreader.app:ICON_PRC
pdb:@PRC_file:1:fbreader07.app,fbreader06.app,fbreader.app:ICON_PRC
mobi:@PRC_file:1:fbreader07.app,fbreader06.app,fbreader.app:ICON_PRC
tcr:@TCR_file:1:fbreader07.app,fbreader06.app,fbreader.app:ICON_TXT
pdf:@PDF_file:1:pdfviewer.app,AdobeViewer.app:ICON_PDF
djvu:@DJVU_file:1:djviewer.app:ICON_DJVU
djv:@DJVU_file:1:djviewer.app:ICON_DJVU
epub:@EPUB_file:1:fbreader07.app,fbreader06.app,fbreader.app,AdobeViewer.app:ICON_EPUB
jpg:@JPEG_image:2:jpegviewer.app:ICON_JPG
jpeg:@JPEG_image:2:jpegviewer.app:ICON_JPG
png:@PNG_image:2:jpegviewer.app:ICON_PNG
bmp:@BMP_image:2:jpegviewer.app:ICON_BMP
tif:@TIFF_image:2:jpegviewer.app:ICON_TIFF
tiff:@TIFF_image:2:jpegviewer.app:ICON_TIFF
mp3:@Music_file:3:play.app:ICON_MP3
wav:@Music_file:3:play.app:ICON_MP3
app:@APP_file:4:start.app:ICON_APP
I have placed the above listed extensions.cfg to the <device>/system/config folder

Now I can use all three versions of FBReader.
Please notice line:
Code:
epub:@EPUB_file:1:fbreader07.app,fbreader06.app,fbreader.app,AdobeViewer.app:ICON_EPUB
Now my epubs are opened by a new fbreader by default, instead of AdobeViewer.

Also see this line:
Code:
pdf:@PDF_file:1:pdfviewer.app,AdobeViewer.app:ICON_PDF
Now when I long press the file I have several options under Open With menu.
fbreader07
fbreader06
fbreader
AdobeViewer (where applicable)


Everything seems to be working so far ...
kacir is offline   Reply With Quote