Skip to content

handle uris from browsers#546

Merged
pazos merged 1 commit into
koreader:masterfrom
pazos:intents
Mar 16, 2025
Merged

handle uris from browsers#546
pazos merged 1 commit into
koreader:masterfrom
pazos:intents

Conversation

@pazos

@pazos pazos commented Mar 13, 2025

Copy link
Copy Markdown
Member

Or any app that states android.intent.category.BROWSABLE on their intents.

Restricted to file and content schemes from any host.

Also added a filter by extension, in case the sending app is nuts (I never needed it here but I see it is commonly used)

Also added markdown to the list.


This change is Reviewable

@Frenzie Frenzie left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also added a filter by extension, in case the sending app is nuts (I never needed it here but I see it is commonly used)

I'm not sure if I entirely understand, but alright. :-)

@pazos

pazos commented Mar 13, 2025

Copy link
Copy Markdown
Member Author

Also added a filter by extension, in case the sending app is nuts (I never needed it here but I see it is commonly used)

I'm not sure if I entirely understand, but alright. :-)

The system will register KOReader MainActivity as an option to open given content if, for whatever reason, that content fails to match any of the supported mimetypes but still has one of the supported extensions.

@Frenzie

Frenzie commented Mar 13, 2025

Copy link
Copy Markdown
Member

I see, that makes sense.

@pazos pazos merged commit 4584076 into koreader:master Mar 16, 2025
@pazos pazos deleted the intents branch March 16, 2025 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants