Quantcast
Channel: MobileRead Forums - PocketBook
Viewing all articles
Browse latest Browse all 1242

Selector - bringing "open with" menu back

$
0
0
Since Pocketbook removed/crippled the open with menu in FW5, extension.cfg is not what it was before.
Epubinfo.app was helping to overcome this limit regarding the epub-file format. I wanted this for other filetypes to (f.i. to decide if KoReader or AdobeViewer should be used with pdf-files).

This is a quick and dirty patch of epubinfo.app to have it working with other filetypes too. I renamed it to avoid confusion. Program changes are in an early state. If other filetypes than epub are opened, the program now shows only standard cover without any infos and after clicking at the center of screen allows the selection of the opening app, following the entries in extension.cfg.

I couldn't get Koreader in the actual configuration work properly with it, but after changing the /system/bin/koreader.app
before:
Quote:

if [ `echo $@ | wc -c` -eq 1 ]; then
args="/mnt/ext1/"
else
args="$@"
fi
into:
Quote:

if [ `echo $@ | wc -c` -eq 1 ]; then
args="/mnt/ext1/"
else
args="$1"
fi
it seems to work fine.

Thanks goes to SirSteiner and the unknown original French author of epubinfo for providing the sources. Compiled version is for PB626 FW5.

selector.app goes into /system/bin and extension.cfg has to be changed/created accordingly f.i.:
Quote:

pdf:@PDF_pdf:@PDF_file:1:selector.app,AdobeViewer. app,koreader.app:ICON_PDF
Bugs: Filenames with "." are not working properly.

Attached Files
File Type: zip Selector.zip (51.4 KB)

Viewing all articles
Browse latest Browse all 1242

Trending Articles