Search results

  1. E

    New trigger: watch folders for file changes using FileObserver

    The Android FileObserver service (https://developer.android.com/reference/android/os/FileObserver) allows an app to watch filesystem folders for changes. This would be great to use for a new trigger, "File changed," that would fire whenever there are changes to specified files/folders on the...
  2. E

    Shizuku implementation

    Oh yeah it's probably tcpip. I tried that and adb connect [localhost_IP]:5555 returned "device already connected", but when I ran adb devices it showed the localhost... as "Offline". So now I'm stuck here - can't figure out how to make the phone appear online to Termux even after it's connected :/
  3. E

    Shizuku implementation

    Seems interesting. What does it actually DO, though? It's a little unclear from the repo. Does it do all of Shizuku's functions, AND act as device owner? What added benefit is there to be able to letting other apps act as device owner? What is a use case for this?
  4. E

    Shizuku implementation

    @Dimlos so far I have paired Tasker via ADB wireless and can launch adb (and therefore start.sh) from MD using the Tasker:Termux app. MD is also capable of enabling Wireless Debug (assuming the device is connected to an Allowed network). I'm stuck right now because for some reason, Termux does...
  5. E

    For intent Action, add/replace Target:Activity's "startActivity()" with "startActivityForResult()"

    When creating an intent targeting "Activity," I assume MD uses the code startActivity(). Could this be replaced with startActivityForResult() (documentation) without problem? If outright replacing it would cause issues in some cases, could an additional Target be added (or maybe a checkbox...
  6. E

    [Solved] How to construct intent to connect VPN?

    @Dimlos your answer was the correct one, thank you! 🙏
  7. E

    [Solved] How to construct intent to connect VPN?

    Tryin to construct an intent to connect to my default vpn profile in the OpenVPN for Android app. The app gives the following instructions (formatted for ADB but containing all the relevant intent info regardless): I have interpreted this to make the following intent in MD, which I suspect...
  8. E

    Notification Interaction not pressing button in notification of other app [QKSMS]

    QKSMS is a messaging app, so its push notification have configurable buttons (kind of like MD does!). One of the buttons is "Mark read" which predictably marks the relevant SMS message as read in the app. I'm trying to make a macro that programatically presses QKSMS's "Mark read" notification...
  9. E

    Problems with notification interactions

    What specific setting? Do you just mean you turned on the generic Macrodroid accessibility service? Or the Macrodroid UI Interaction accessibility service...?
  10. E

    Quality of life features

    Yes, I totally agree! I think I was unclear in my last post, and I apologize. I was suggesting that we users create a macro to streamline the text-editing import/export workflow. That way it wouldn't put any more work on you.
  11. E

    Quality of life features

    The challenge of supporting text editing is a fair point, as is the desire to have it in the first place. This is just a thought, as I haven't looked into implementing it at all, but if the current way of manually editing a macro is to export it, open in an editor, and import/restore the...
  12. E

    Shizuku implementation

    I thought the Termux:Tasker plugin would work well, but I'm having difficulty with it. I think I'm not configuring it right. Would appreciate any help or examples of working configurations for the plugin
  13. E

    Can't get termux shortcut to work with macrodroid

    Could you give an example of a configuration that works with the Termux:Tasker plugin from Macrodroid? The reason I ask is that I can't seem to get it to give me anything for stdout, even when I'm inputting simple commands that seem like they should work
  14. E

    Shizuku implementation

    I'm aware of that. But if the solution to every issue was "just do it manually" then none of us would have installed Macrodroid ;) MD can run adb commands via plug-ins. I'm currently trying to find which one is the most reliable.
  15. E

    Screen Content as Constraint (and Logic Condition)

    Thanks, I'm aware of that workaround. It would be much simpler and user-friendlier if it were added as a Condition/Constraint.
  16. E

    Confirm input text

    Hey @Endercraft could you elaborate? I installed that ADB Shell plugin but I can't figure out how to pair it with Wireless ADB or send commands...
  17. E

    Shizuku implementation

    There's currently a flow (macro) in the device automation app Automate that does this https://llamalab.com/automate/community/flows/44848 My plan is to try to port it to Macrodroid, but it looks nontrivial, at least with my level of coding knowledge. Would appreciate any assistance anyone can...
  18. E

    Screen Content as Constraint (and Logic Condition)

    Screen Content is an awesome trigger, thanks so much for implementing it! Could it also be included as a Constraint and as a Condition for If/Then, Loops, AND/OR/XOR, etc? (In case the use-case isn't immediately obvious, it would work as a Condition to say, "If content 'XYZ' is on the screen...
  19. E

    Prevent screen content trigger from activating in macro edit screen

    This would be a good bugfix to implement, but in the meantime, can you give the Screen Content trigger a Constraint: App > Not in Foreground > Macrodroid?
  20. E

    GrapheneOS compatibility (re: scripts)?

    Good news everybody. As of GrapheneOS version 2023012500, shell scripts (and Shizuku) have been reimplemented.
Top