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

Shortcut Activity (ACTION_CREATE_SHORTCUT manifest intent-filter) #2178

Open
4 tasks done
bb1a2 opened this issue Dec 6, 2023 · 4 comments
Open
4 tasks done

Shortcut Activity (ACTION_CREATE_SHORTCUT manifest intent-filter) #2178

bb1a2 opened this issue Dec 6, 2023 · 4 comments
Assignees

Comments

@bb1a2
Copy link

bb1a2 commented Dec 6, 2023

⚠️ This issue respects the following points: ⚠️

  • This is a enhancement/feature request. Not a bug or question.
  • The topic is not already reported at Issues. (I've searched it).
  • Markor is up to date. See Releases for the latest version. Updates are available from F-Droid and GitHub.
  • The wanted feature/enhancement is not present in the latest development version (git master). (Please download and try the test version of Markor, named Marder. Don't worry; Markor and Marder appear as completely separate applications. You can install both side-by-side, and Markor's settings are not touched. If your desired feature is present, you don't need to open this issue. The change will be part of the next Markor update.)

Description

Note: This is not about the app's launcher icon but actually the existing feature inside Markor of "Create shortcut" to immediately open a file with one tap.

There are at least two ways to add a shortcut in Android:

  1. Through the app: like what Markor currently does. But it adds the shortcut to the default launcher/home screen only.
  2. Through the launcher: the same as a widget. You long press on the home screen and choose add shortcut. Then you are presented with the different shortcut creating dialogues/activities declared by the apps in the manifest. This is the only way to add a shortcut to a non-default launcher.

This should be simple enough and allows creating a shortcut in assistants and non-default launchers (like these: 1, 2, 3).

Side launchers are very helpful, so I would really like it if you considered this small addition.

Thanks

Information

Android version: 13
App version: 2.11.1

Source

F-Droid

@gsantner
Copy link
Owner

gsantner commented Dec 8, 2023

Hello, I'm sorry but I don't quite unserstand if this is a finding, a question, or something you miss in Markor.

Can you please shortly tell what it's about?

@harshad1
Copy link
Collaborator

I use kiss launcher and the current way of adding a shortcut works fine?

@bb1a2
Copy link
Author

bb1a2 commented Dec 11, 2023

It is a feature request 😁

In short:

  • Install Home Button Launcher. This app replaces Google Assistant (meaning you launch it by long-pressing the home button).
  • Open the hamburger menu, tap add.
  • Move to the second tab (labelled "Shortcuts").
  • You will find that Markor is not present. This is the only way to add shortcuts in Home Button Launcher and similar applications (and gesture-based launchers). You can make them available by adding the activity mentioned in the first post.

@gsantner
Copy link
Owner

@bb1a2
Feel free to implement it. The main deal seems to be that the ACTION_CREATE_SHORTCUT is used as a special entrance to the app for picking.

Personal humbly said, you have many ways to get into Markor and to load specific files. We don't need to have everything.

@gsantner gsantner changed the title Shortcut Activity Shortcut Activity (ACTION_CREATE_SHORTCUT manifest intent-filter) Dec 27, 2023
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

3 participants