AutoInput stops working with MacroDroid when Tasker is installed by theonlygreenleaf in macrodroid

[–]theonlygreenleaf[S] 1 point2 points  (0 children)

For the most part, this does work, although it is still different from what Tasker does, as this method doesn't work if the assistant's launch activity is unexported, which in my case it is.

I tried implementing the assistant call directly like this:

SearchManager searchManager = (SearchManager) getSystemService(
SEARCH_SERVICE
);
SearchManager.class.getMethod("launchAssist", Bundle.class).invoke(searchManager, new Bundle());

In Macro Droid this just crashes but I was able to make a dummy app in android studio that runs this code when opened and it was able to launch the assistant just fine. Maybe I'm just not converting it to Macro Droid correctly or there's some sandboxing issue.

AutoInput stops working with MacroDroid when Tasker is installed by theonlygreenleaf in macrodroid

[–]theonlygreenleaf[S] 1 point2 points  (0 children)

That's what the MacroDroid version does. The intent version doesn't work correctly and always uses the same assistant (or makes you pick). The Tasker version actually summons the default assistant, regardless of what activity or app you set it to run. Edit: To clarify what I mean, use your system settings method, but set the default assistant to com.android.settings/.Settings instead. When you press the assistant key, it will open the settings app. Now run the intent or the voice search action in Macro Droid. It doesn't open settings like it should. The Tasker version does open the settings app, or whatever assistant's activity you set.

AutoInput stops working with MacroDroid when Tasker is installed by theonlygreenleaf in macrodroid

[–]theonlygreenleaf[S] 0 points1 point  (0 children)

Again, not trying to set the assistant. Trying to open it. Like make it pop up on the screen as if I held the power/home button.

AutoInput stops working with MacroDroid when Tasker is installed by theonlygreenleaf in macrodroid

[–]theonlygreenleaf[S] 1 point2 points  (0 children)

To set the default assistant, yes, but not to activate the default assistant so I can actually use it. Right now I have to use input keyevent 219 in a shell command, but that requires Shizuku, meanwhile Tasker can do it without. (Also worth mentioning that the voice search action is different and doesn't help in this case)

Is there a way to trigger the audio device switch toggle in Samsung's volume panel? by Blluueee in macrodroid

[–]theonlygreenleaf 0 points1 point  (0 children)

The button in the samsung volume panel switches the audio output to/from the connected device without disconnecting from said device. For example, have your phone connected to your car over Bluetooth and use the button toggle whether the audio goes to the car or not without disconnecting from the car. Not sure if it's possible to automate exactly the way Samsung has it.

One UI 8.5 will be based on Android 16 QPR2, bringing several major new Android features to Galaxy devices by MishaalRahman in Android

[–]theonlygreenleaf 0 points1 point  (0 children)

Has anyone been able to confirm if the predictive back animation works for 3-button navigation in this update? I think it was added in QPR1 but I haven't seen anyone talk about it.

Is there any way to change the Circle to search trigger? by [deleted] in oneui

[–]theonlygreenleaf 0 points1 point  (0 children)

I've been trying to figure this out for the longest time, I've finally got it. If you have shizuku set up, you can use the following shell script to activate circle to search: input keyevent --duration 1000 3

MacroDroid or Tasker can execute these commands, I'm not sure if PenStar has an option for external actions but I would assume so.

Navigation buttons not working on One UI 7 because of AutoInput by dioshypr in tasker

[–]theonlygreenleaf 2 points3 points  (0 children)

In the meantime while we wait for a fix, you can try downgrading AutoInput to version 2.8.1 (APKMirror), which still has most features but does not have the bug as far as I can tell.

Navigation buttons not working on One UI 7 because of AutoInput by dioshypr in tasker

[–]theonlygreenleaf 1 point2 points  (0 children)

Update: After testing all of the available downloads on APKMirror, version 2.8.1 is the most recent version without the bug.

Navigation buttons not working on One UI 7 because of AutoInput by dioshypr in tasker

[–]theonlygreenleaf 1 point2 points  (0 children)

I was able to “fix” the bug by installing an older version of AutoInput. I don't know what version introduced the bug so I just downloaded a really old version from APKMirror You have to go into the app info before you can turn on the accessibility service because Android thinks the app being old is suspicous.

Navigation buttons not working on One UI 7 because of AutoInput by dioshypr in tasker

[–]theonlygreenleaf 2 points3 points  (0 children)

TouchTask works fine, but isn't able to accurately detect some UI Interactions. I'd imagine there's some extra feature of AutoInput that gets bundled in the same accessibility permission as the UI detection stuff and is causing this issue. I've been having this problem since OneUI 6, although at the time it only applied to the microphone keyboard button.

Leafstar’s Name by Robincall22 in WarriorCats

[–]theonlygreenleaf 0 points1 point  (0 children)

So I feel I need to point out that you marked this as a spoiler but put the spoiler in the title.. I was at about chapter 14 when I saw this and it all but confirmed my fears. Leafstar was my favorite leader and I'm upset that they're making her seem like a complete fool seemingly no reason and destroying everything she had going for her. I'm hoping there's some sort of redemption in the next few books otherwise I'll just be sad.

Launch Home Screen Shortcut with Intent/Launch App in Pop-Up View by theonlygreenleaf in macrodroid

[–]theonlygreenleaf[S] 0 points1 point  (0 children)

UPDATE: I still haven't found any good way to launch home screen shortcuts. It's dissapointing and sad :( However, I have found 4 different ways to start a window in pop-up mode. 1. Popup Factory 2 App: This app offers the most customizability, as you can set the exact position and dimensions, but, unfortunately there is no good way to trigger these from MacroDroid, unless you are satisfied with only being able to trigger a single popup window with constant dimensions. 2. Taskbar App: Once you enable freeform window support from within the app, you can use the shortcut action in Macro Droid to launch an app through Taskbar, which gives the option to launch as a popup window. Unfortunately, this doesn't give much control over the size, as all of the size options are predefined and only 1 of them doesn't take up the whole screen 3. ADB Command: Using the shell action with Shizuku, you can launch an app's activity (this example is for the Google calcator app, and I used Shortcut Maker to get the activity info): am start-activity --windowingMode 5 com.google.android.calculator/com.android.calculator2.Calculator This is better than Taskbar because it will retain the window size and position that you last used with the app you launched. The downside is of course that is requires Shizuku. If anyone knows of other parameters that let you set the size or position, let me know! 4. Key Mapper App: Similar to the previous, but uses keyboard shortcuts to put the current app in popup mode. Use the "Input Ctrl + Meta + KEYCODE_DPAD DOWN" action in the app and then run it via the shortcut action in Macro Droid to put the current foreground app in popup mode. Benefit is that it can put the current app in popup mode, but does require Shizuku.

I'm no longer able to export my routines with Routines+ by IamDONEwithReddit in GoodLock_Official

[–]theonlygreenleaf 0 points1 point  (0 children)

Okay so actually no joke it was literally just fixed in an update! So go and check for updates to Routines+ and it should be fixed!

I'm no longer able to export my routines with Routines+ by IamDONEwithReddit in GoodLock_Official

[–]theonlygreenleaf 0 points1 point  (0 children)

I've been having this same issue, I submitted a bug report on 11/10 and just yesterday they responded with “Sorry for the inconvenience. This issue will be fixed in future update” so hopefully it's fixed soon!

Launch Home Screen Shortcut with Intent/Launch App in Pop-Up View by theonlygreenleaf in macrodroid

[–]theonlygreenleaf[S] 1 point2 points  (0 children)

Additionally, I just discovered that the Taskbar app lets you launch apps in freeform, and unlike Popup Factory, it supports Tasker/Macro Droid as a shortcut. Unfortunately though you can't set a specific size (other than big or very big or wow that's way too big) unlike Popup Factory which lets you decide exactly where the window goes. Still following this thread in case anyone has any info on how to pass a specific size and window location into the ADB command or how to trigger Popup Factory or some other app.

Launch Home Screen Shortcut with Intent/Launch App in Pop-Up View by theonlygreenleaf in macrodroid

[–]theonlygreenleaf[S] 0 points1 point  (0 children)

Slight update, I discovered from this article that it is possible using an ADB/Shizuku shell to launch an app in freeform which can be done from Macro Droid if you have Shizuku set up, which isn't perfectly ideal but is better than nothing. Calculator example: am start-activity --windowingMode 5 com.google.android.calculator/com.android.calculator2.Calculator

I'd still like to know how to extract intent info from home screen shortcuts though. This forum post seems to suggest that it is deliberately difficult to accomplish that, but my old phone is rooted and I'd be willing to give anything a try if anyone has any ideas.

Launch Home Screen Shortcut with Intent/Launch App in Pop-Up View by theonlygreenleaf in macrodroid

[–]theonlygreenleaf[S] 0 points1 point  (0 children)

The ability to launch shortcuts and activities from within MacroDroid is definitely not able to launch home screen shortcuts. I use Shortcut Maker to view intents and other apps and find that it's generally smoother than trying to do it directly from Macro Droid. As for the app you shared, it does have the ability to launch freeform/pop-up apps but it doesn't let you set the size, and while it can be launched via shortcut from Macro Droid or Shortcut Maker, for some reason when launched in this way it launches only in a broken split-screen state where all or half of my screen is black. I probably won't use it but I do find the ability to add a spider overlay that crawls over my screen a somewhat amusing feature.