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

[FeatureRequest] Hide function shotcut/ Tasker supporr #30

Closed
MA9008 opened this issue Feb 4, 2023 · 9 comments
Closed

[FeatureRequest] Hide function shotcut/ Tasker supporr #30

MA9008 opened this issue Feb 4, 2023 · 9 comments
Labels
enhancement New feature or request

Comments

@MA9008
Copy link

MA9008 commented Feb 4, 2023

Feature Description / 功能描述
A clear and concise description of what you want to happen. / 请描述你想建议加入的新功能
It would be great to add tasker/macrodroid support, or a direct shortcut to the hide function (that can work with auto tasks apps)so it can be triggered when needed in a rush without noticing, thanks
Reason / 理由
Please describe why this feature should be added. / 请描述为什么应该加入这个功能。

Suggest Solution / 实现方案
(Optional) Possible ways to implement this feature / (可选)如果你已想出新功能的实现方案,请在这里写出。

@MA9008 MA9008 changed the title [FeatureRequest] [FeatureRequest] Hide function shotcut/ Tasker supporr Feb 4, 2023
@deltazefiro
Copy link
Owner

deltazefiro commented Feb 5, 2023

@MA9008
A cool suggestion! 😆 However personally I'm not very familiar with tasker or Macrodroid - what shall I do to make them work together? Maybe I can set up an intent filter, so you can send an intent with your automation apps to trigger?

so it can be triggered when needed in a rush without noticing, thanks

Hey actually there is a new feature I'm working on currently called "Panic Button". When you are in the "unhide" state, Amarok will create a floating button on your screen, over other apps. And when you click the panic button, Amarok will hide all the stuff! I plan to roll out this feature soon, maybe in the next pre-release 😃

@MA9008
Copy link
Author

MA9008 commented Feb 6, 2023

Thank you for your reply 😀
Actually I don't have experience either 😅, but my experience (using) them proved great usefulness..

What I would like to demonstrate apps like tasker/macrodroid offers alot of triggers to initiate the desired response. For example you can just shake your phone, long press the volume button or even if you or someone else entered wrong unlock code, this would be more stealthy and fast.
I think they also have some sort of Panic button support ... This would be two birds one stone 🤔

@deltazefiro deltazefiro added the enhancement New feature or request label Feb 16, 2023
@deltazefiro deltazefiro self-assigned this Feb 18, 2023
@deltazefiro
Copy link
Owner

Hey @MA9008
I added a BroadcastReceiver. Try this CI version: f7688ff (Login to GitHub to open the link, or you'll get a 404)

  • Package: PackageID of Amarok, different versions have different IDs. For the CI build one: deltazero.amarok.foss.debug
  • Class: deltazero.amarok.ActionReceiver
  • Action:
    • deltazero.amarok.HIDE (hide)
    • deltazero.amarok.UNHIDE (unhide)

Instructions: macrodroid, tasker

@deltazefiro
Copy link
Owner

I'd like to provide instructions in-app in the next major version.

@deltazefiro deltazefiro removed their assignment Feb 20, 2023
@MA9008
Copy link
Author

MA9008 commented Feb 21, 2023

That's great news, thank you.
I will try and report if there's any bug..

@ironlungx
Copy link

Could you give a snippet on how to trigger it from an android application?

@deltazefiro
Copy link
Owner

@ironlungx Sure. Here is the snippet to trigger the hiding process:

Intent intent = new Intent();
intent.setAction("deltazero.amarok.HIDE");
sendBroadcast(intent);

See sending broadcasts section in the Android developer guide and our action receiver for reference.

@ironlungx
Copy link

thank you!

@deltazefiro
Copy link
Owner

I'd like to provide instructions in-app in the next major version.

Doc added. Mark this issue complete :)

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

No branches or pull requests

3 participants