dstark5 / Openlib

An Open source app to download and read books from shadow library (Anna’s Archive)
GNU General Public License v3.0
1.18k stars 62 forks source link

Open external links to wrong app. #72

Open DickinsonSa opened 9 months ago

DickinsonSa commented 9 months ago

Hi, Great app and since the latest release it now downloads fine - many thanks.

But I have a problem when I set the 'use external reader' (I use readera). It takes the link across to my contacts app not the reader.

So, I can't save the file. And as I'm not rooted, I'm unable to locate the book and move it - or rename it.

Possibly I can change something to get my system to load my preferred reader?

Or possibly an option to change the location of the saved file?

Anyhow, thanks for the work you're putting into this - much appreciated.

Asmageddon commented 8 months ago

I suspect that Openlib is using the wrong intent/MIME type/something for telling android what external app to open.

DickinsonSa commented 8 months ago

I suspect that Openlib is using the wrong intent/MIME type/something for telling android what external app to open.

That's interesting. Thanks for enlightening me. Intent /MIME - all useful stuff.

Let's hope it gets picked up as an issue and fixed.

Edit : forgot to add : before the last update it worked as expected.

dstark5 commented 8 months ago

Will fix this in the next update, Thank you

DickinsonSa commented 8 months ago

Will fix this in the next update, Thank you

Many thanks.

victor-marino commented 1 month ago

I can confirm this still doesn't work for me. When using the option to open books (epubs) in external reader, I get a long list of apps that have nothing to do with EPUB files.

Google Play Books, on the other hand, is not showing up as an option, despite the fact that it can handle EPUB files.

Can you please take a look and make sure the right intent is sent to the system when opening EPUB files in an external app?