Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't catch some android.intent.action.VIEW when mime type is NULL ? #42

Open
ghost opened this issue Aug 9, 2016 · 0 comments
Open

Comments

@ghost
Copy link

ghost commented Aug 9, 2016

"termux-notification -u" generates this intents with a NULL mimetype (termux/termux-api#35)

Intent Intercept catches the intent when it has scheme "http:" but not when it has scheme "file:"

This one works:
termux-notification -c xxxx -u http://www.google.com
this not:
termux-notification -c xxxx -u file:///sdcard/xxx.html

Example caught:

intent://www.google.com#Intent;scheme=http;launchFlags=0x13000000;end

ACTION: android.intent.action.VIEW
DATA: http://www.google.com
URI: intent://www.google.com#Intent;scheme=http;launchFlags=0x13000000;end
FLAGS:
FLAG_ACTIVITY_FORWARD_RESULT
FLAG_ACTIVITY_PREVIOUS_IS_TOP
FLAG_RECEIVER_FOREGROUND

Providing the example for the not caught one is not so easy, GhostCommander catches the view intent and opens a directory.

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

No branches or pull requests

0 participants