[Solved] Run remote actions in background without opening the app
I want to trigger remote actions (like media control: next title, speaker volume up, pause/play) just like with the UR quick actions notifications on Android, but without the notification. I want to trigger them via Tasker (actions). But this always opens the app and then does the remote action. I use the same URI which are set for quick actions buttons (which is also displayed below in the description of the tap), but they work directly.
TL:DR; How can I run an remote action in the background, without opening the UR app via Tasker on Android?
PS: I really searched and didn't find a solution :/
I really feel dumb right now, but I'm happy the problem is solved. I really could swear I already tried it and it didn't work... but there's a Tasker plugin, which also works and it works even in the backgroud. It uses the same URL which can be created by the UR app (as an export via the share option) but when you use the plugin it won't open the app first to invoke the action, it just does the action (if it's a remote action) and shows a toast message. Thank you Philip Bergqvist :)
Braxton Spence 00
This post is deleted!last edited by
Crayon Scribe 00
It looks like you are just getting started on the same mission that I started about a month ago. It is frustrating that you know so much is capable by using the APP, yet you can't reach it without task switching or limiting yourself to widget style actions. Even the available button icon set was lacking enough to tempt me to break down the APK and reassign some things in correlation with FontAwesome. With other apps I would. But with Unified Remotes, I just have too much respect for what the developers have put into this to break the terms in which I bought the app(s) to begin with.
Anyway... While I think that you're looking for something a bit more technically minded than I can provide, I can at least tell you about some "workarounds" that I came up with over the last few weeks. In other words, I decided not to deal with tasker or broadcasts/intents all that much, but I did experiment with overlays and (what my 4 year old daughter assures me is) a magic wand trick here and there.
So, here we go...
While Magic Wand Mode (which is the S-Pen for my Note 4, by the way) may not apply to you if you don't have a Galaxy/S Pen operated device, the applications that let me use the wand magically also include a press mode for people without the means and ability to pause a movie and get Cinderella a date all at the same time.
ALL-IN-ONE GESTURES is my baseline program. I found it just by wanting to flip my RECENTS/BACK keys on the Note 4. The app allows users to do that, along with an entire host of other nifty tricks, and without root access needed. The app is also donation supported and non-intrusive, only showing ads in the settings menu if you choose to stay non-free. Not only does the app add floating swipe and press abilities all over the screen, but it makes all of the hardware buttons on the device configurable, too.
With AIO GESTURES, you can assign activities, links, shortcuts, etc. etc.
[I was able to gently breeze my S Pen near the top-left corner of my screen without actually making contact, and that would pin-task my active app and open a remote of my choosing. I can see why my little girl thought it was a magic wand. I'm sure that my sporting wizard's robe and suddenly existent long, gray beard had nothing to do with it.] Next...
I was going to go into detail on how I utilized the POPUP WIDGET app in cahoots with AIO GESTURES for added functionality without a resource drain, but it seems like you're more interested in cutting down on middle-man/controller apps. So, I'll skip the details and just call this an honorable mention.
Lastly, FLIPPR. The FLIPPR app allows you to BG run many of your system's app's widgets without losing focus of your active app. The advantage being that you can customize a bit more than you could with AIO GESTURES as far as the widgets themselves are concerned. I obvious (kinda/sorta/not really)disadvantage being that you've only got the one swipe point. However, the OnAction can be arranged with somewhat of a categorical view, allowing widgets to be selected with a horizontal swipe, while other folders are jumped to with a vertical swipe. Also, if you have a young daughter that is overly familiar with Disney, your simple swiping and finger panning will actually be disappointing to her, forcing you to get an S Pen to bring her smile back.
So, while I've most likely misread your intentions and created what is sure to be this Community forum's most downvoted comment, I hold onto that small chance that I at least accidentally lead you to stumble across something else useful in the appverse to at least let me break even in the public opinion poll.
Props to you for doing the research before coming here. This forum has some really intelligent members, but it's always good to have the basics down for when you do need to make a request for assistance from them.
I'll check back often hoping that you can get further than me and chat about it, bro. Take it easy...
The Crayon Scribe
@Crayon-Scribe Thank you very much for your long and detailed answer with several options.
I also checked them all and also checked other stuff, too. I use GMD Gesture control which can do similar stuff as AIO Gestures, (I think even more), but that also doesn't work :/
Unfortunately that all doesn't love my problems. I have to invoke the stuff in the background via intents via an App like Tasker, since I use a Live wallpaper. If I don't find anything good I have to switch to another app.
I don't get it. There are QuickActions and Widgets which can activate actions or invoke them, but it's not possible to do that without opening the app?
@Crayon-Scribe Hey, I think you're interested, the/my problem is solved. Just read the edited part of my post. TL;DR: use the UR Tasker plugin :p