-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Intent/Activity API for opening the Card Browser #11885
Description
Is your feature request related to a problem? Please describe.
At the moment, I have a website with my relevant anki notes to things like nid:1238753945. I have to select the text (which is rather painful on mobile) and click "Card Browser" in the context menu to go to it.
Describe the solution you'd like
An intent API for navigating to the Card Browser with an action parameter filled in as the search query.
Since you can deep-link to intents with a specially crafted hyperlinks in web apps, this would make the experience much nicer. I could make the nid:1238753945 text a hyperlink that automatically opens AnkiDroid to the right note when tapped.
Describe alternatives you've considered
Since it's not possible to use the native API from a website, I tried to see if context menu intents can already be triggered from a hyperlink. Unfortunately, I'm not very experienced in android development and couldn't figure out how to craft that intent hyperlink by looking at the AndroidManifest.xml.
If it's already possible, that would be great! If not, I'm hoping it would just be a small change to the way the intent is exported.