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

[Feature Request] Call Android browser, or any binded app, to open a URL #619

Open
1 task done
garywill opened this issue Jan 2, 2024 · 3 comments
Open
1 task done
Labels
type:enhancement New feature or request

Comments

@garywill
Copy link

garywill commented Jan 2, 2024

Pre-issue checklist

  • I've searched the issue list but couldn't find the feature I want

How can Tango be improved?

am start -a android.intent.action.VIEW -d http://xxxxxxx

will make Android open browser to open the url.

Or

am start -a android.intent.action.VIEW -d  other-scheme://xxxxxxx

will make it open the binded app for the scheme.

So please add adb shell am start -a android.intent.action.VIEW -d <user input url> as a feature on webui

How should the API change?

.

(Optional) Other information

No response

@garywill garywill added the type:enhancement New feature or request label Jan 2, 2024
@yume-chan
Copy link
Owner

Sorry for the late response, I was in hospital last week.

So please add adb shell am start -a android.intent.action.VIEW -d <user input url> as a feature on webui

Please tell us why you need this feature so we can find a good place for it in the app.

In my understanding, starting a URL is useful for debugging protocol handlers in your apps. It's not related to any existing features in the Web app, so it might be added to the Advanced page?

Note: suggestions for the Web app should go to https://github.com/tango-adb/feedback/issues.

@garywill
Copy link
Author

garywill commented Jan 8, 2024

Please tell us why you need this feature

For example, my Android device has an app called "Bilibili" installed. It has registered itself as opener of url *://www.bilibili.com/*.

When I see a good video on https://www.bilibili.com/<videoid> on PC, I can quickly use that feature to open Bilibili app on Android and tell it to play that video.

Same apply to Youtube and other websites/apps.

Similarily, some apps like Telegram registers tg://xxxxx url


I was in hospital last week.

Keep healthy.
You don't have to feel sorry to users.
We technicians are workers who are in the same side

@yume-chan
Copy link
Owner

Sounds like it should be a share target. Except share target API is hard to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants