View Single Post
Old 09-23-2020, 12:53 PM   #1
Norbi24
Connoisseur
Norbi24 doesn't litterNorbi24 doesn't litter
 
Posts: 64
Karma: 144
Join Date: Aug 2019
Device: Tolino Vision HD4, BOOX Poke2
Starting KOReader from CC works only if KOReader was not running before

I have Calibre Companion 5.4.4.19 on Onyx BOOX Poke 2 (Android 9)
and I use to open books directly from CC by clicking the Read button there to open Koreader (2020.08.01) with that book.

But this works only if Koreader was not running before, if KOReader was already open with another book before, it remains hanging.

I've collected logcat logs to see what is going on and see that CC starts Koreader apparently with this:
I ActivityManager: START u0 {act=android.intent.action.VIEW dat=content://com.multipie.calibreandroid.provider/external/Calibre_Companion/Después del amor - Sonsoles Ónega.epub typ=application/epub+zip flg=0x10008001 cmp=org.koreader.launcher/.MainActivity} from uid 10083

and then, if KOreader was not running before I see later that it gets started and it opens.

If it was already open before, it shows these lines:

KOReader: Engine thread destroy requested!
KOReader: got error waiting for events: ffi/input_android.lua:168:
application forced to quit

and then it hangs ...

Not a huge problem for me as I know it, but perhaps easy to solve ?
Btw, I observed the same behaviour on my Samsung S7 mobile with Android 8 so it is not specific to Onyx device

Thanks, Norbert
Attached Files
File Type: txt OpenKoreaderFromCC_OK.txt (864.8 KB, 1241 views)
File Type: txt OpenKoreaderFromCChangup.txt (790.2 KB, 1367 views)
Norbi24 is offline   Reply With Quote