Would like double-tapping the power button to launch a media player. Is that doable? I'm rooted (no xposed module seems to offer this).
Have you tried Xposed Additions?
It doesn't allow you to map to a specific application
I'm not sure if this will work or not, but can you set Xposed Addition to run a Tasker task on click to open the media player?
Edit: Seems like you can only launch apps or run a task on the pro version of Addition.
Related
I find it annoying having to press OK all the time then going to task manager (which is laggy and have to wait for it to load up the running pprograms).. any light on this?
You can use a third party task manager like Showcase (free), and assign it to a soft key.
Also, AEButtons Plus has an Alt+Tab function that is assignable to many different keys. It also has a Switch to next app function.
I'm sure there are many others.
Showcase, Taskfacade, and Alt-Tab, any of which could be mapped to one of the little silver keys.
Hi,
I am having difficulty getting something I would think easy to work on my Nexus for my car install.
I was wondering how people are getting tasker tasks to be triggered off keyboard hotkeys when using either their Joycon or a standard external keyboard.
It seems from research the way to do this used to be quick launch shortcuts (assigning search key + a letter) to an app or shortcut but it seems these do not work for me in android 4.4?
External keyboard helper lets you launch applications from hotkeys, but seems to give no way of launching tasker tasks.
This is really doing my head in! From youtube it looks like others have no issues doing this. Any help would be greatly appreciated!
Well, the only thing I can think of right now is to use a Tasker Scene with a focused textbox to detect the keys. You will have to run this scene as a dialog, and deal with all the complications with that... (touch disabled outside of dialog, etc) but here's another idea.
You could use a mobile bluetooth keyboard (or any keyboard that has volume/brightness keys) and have a Tasker profile pick up a change in the ringer volume variable, this would give you 2 or 3 hotkeys (vol up, down, or mute). If you don't have a keyboard like that you could edit the Android keymappings under /system/usr/keylayout/General.kl to incorporate volume changes under some key.
Sent from my SCH-I605 using xda app-developers app
Good idea with detecting the variable changes! I'm using an Arduino Micro which emulates a keyboard so I will have no problem emulating them via buttons & changing the keyboard layout kl if nessesary. Thanks
I am currently working on the same topic: Here is my workaround for trigger a task with an external bluetooth keyboard.
create a task in Tasker
create an app of this task with Tasker App Factory
remap a key of the keyboard to the new app with External Keyboard Helper
Finish
Maybe this is helpful
Thomas
What are you trying to accomplish?
Lokifish Marz said:
What are you trying to accomplish?
Click to expand...
Click to collapse
1. With a bluetooth remote (Satechi BT MediaRemote) i want to switch between the homescreen by pushing a key. (launcher nova and tasker secure settings are necessary)
2. a tasker scenes (dialog) with different options should open by pushing another key. Navigation in the scene should do also with the Bluetooth remote (not yet finish).
The goal is an intuitive handling of the tablet ui in the car with less touch-input on the screen. Something like Audi MMI or BMW idrive.
In my opinion to find icon on the homescreen while driving is difficult.
Here is my current set up.
Nexus 7 (In dash)
Center console mounted volume dial with push to mute (Tablet>dial>amp)
(Not shown in the screencap is that the media widget is also in the Navbar and accessed via a softkey in the navbar)
The console dial was initially a USB 5 button mouse with key remapping but required the amp gain be cranked up which caused issues.
Now for full control you need the following;
(Some of these things can be eliminated with voice controls)
Media Control (Previous, Play/Pause, Next, Playlist, etc.)
Directional controls (Up, Down, Left, Right)
Action Controls (Select, Home, Back, Recent, Menu)
Phone Control (Answer, Hangup, Dialpad)
SMS Control (Full KB or voice to text using a noise canceling mic)
If you skip voice control and you don't count the dialpad or KB, you need 15 buttons or adaptive input based on what app is running but still need at least 5-6 buttons. I am not sure how involved implementation of adaptive input would be as I gave up after days of trying to get it just right.
With the Satechi BT MediaRemote, you can cover most of this by key remapping but have to remember what keys are what. The advantage of proper key remapping is that it removes the need for additional apps to get it to work.
Seeing that I'm not sure how complete of a setup you are trying to get, it's hard to offer anymore advice.
Hi,
anybody knows a way to go to the next music song without using the Touchscreen?
Or an App that has this function integrated?
I am using Sennheiser headphones with a remote control with 3 Buttons (+, - and Play).
Thx for your help!
VincThePrince said:
Hi,
anybody knows a way to go to the next music song without using the Touchscreen?
Or an App that has this function integrated?
I am using Sennheiser headphones with a remote control with 3 Buttons (+, - and Play).
Thx for your help!
Click to expand...
Click to collapse
If You Are Using Xposed 2.5 Then Install Latest Version of GravityBox and In Media Tweaks Enable Long Press Volume Keys Skip Track ....Then Reboot and Then When You Are Playing Songs And Screen Is Turned Off ... Long Press Volume + Or Volume - Key on Phone Will Change Music
The above reply is for Xposed 2.5.
If you have Xposed 2.5+ (2.7 for example), disable resource hooks in Xposed settings, install the framework, reboot then find in downloads section of Xposed 'Physical Button Music Control', install it, enable the module and customize your settings.
You can do 2 short volume up press for next track, 1 long press, 3 short press etc, you can customize how you like it with that module.
vEEGAZ said:
The above reply is for Xposed 2.5.
If you have Xposed 2.5+ (2.7 for example), disable resource hooks in Xposed settings, install the framework, reboot then find in downloads section of Xposed 'Physical Button Music Control', install it, enable the module and customize your settings.
You can do 2 short volume up press for next track, 1 long press, 3 short press etc, you can customize how you like it with that module.
Click to expand...
Click to collapse
2.5 doesn't need to disable resource hooks and also allows advanced reboot menu and customized nav bar and many other modules
andromodgod said:
2.5 doesn't need to disable resource hooks and also allows advanced reboot menu and customized nav bar and many other modules
Click to expand...
Click to collapse
I know.. Read again the first 12 words of my previous post.
i forgot to say that my P7 isnn't rooted...
just double click the play button on your headset
I recently got hold of an Elephone P9000 which has a Shortcut button that can be used to launch an app, but not a function within an app. I've been playing around with app factory to allow it to do different functions & so far I've been able to set it up as a camera shutter button which is a glaring omission by Elephone as a selectable option.
I'm now looking to try to get it to work for Now On Tap but having issues.
The phone has the option between having the standard navigation bar or using a single multi use capacitive button which I find a great feature but it causes issues if you want to launch now on tap as you can't press & hold the home key.
I've got a task that does keypress 219 & this works on its own to launch now on tap & when I export it as an app it works if you open the app. It does not however work if you assign it to the shortcut key as my camera shutter app did.
I'm still on a steep learning curve with tasker so I thought I'd throw it out to you guys in case I might be missing something obvious.
Sent from my P9000 using XDA-Developers mobile app
Try using xposed additions module
and linking a Tasker task.
Sent from my SM-N920C using Tapatalk
RuggedHunter said:
Try using xposed additions module
and linking a Tasker task.
Click to expand...
Click to collapse
I did wonder if xposed might be the only way. As far has I've seen so far no one has a working solution for xposed on this phone. Time for me to start playing.
As far as apps created in Tasker do they still need the project to exist within Tasker to function correctly or is the intention that they should work as stand alone apps? I wanted to try to make the button multi use depending on certain conditions, so bringing profiles into it. Just don't want to waste a lot of time trying it if it's not going to work.
I have about 19 xposed modules activated and I was wondering if that may be too many. I have shortcuts to the power menu and I have noticed that these don't work anymore or are very slow, so I just use the old fashioned power volume button method.
I am trying to figure out what may be causing this because the shortcuts worked fine before.
I am trying to find whether some xposed modules or other apps may be interfering with the power menu shortcuts, but could it be that I just have too many xposed modules in general?
theobjr said:
I have about 19 xposed modules activated and I was wondering if that may be too many. I have shortcuts to the power menu and I have noticed that these don't work anymore or are very slow, so I just use the old fashioned power volume button method.
I am trying to figure out what may be causing this because the shortcuts worked fine before.
I am trying to find whether some xposed modules or other apps may be interfering with the power menu shortcuts, but could it be that I just have too many xposed modules in general?
Click to expand...
Click to collapse
It depends on the modules.
Well written modules should have minimal impact. However just having xposed installed tends to slow the system down slightly.
I have 18 modules installed, and my system is pretty responsive.
I'd suggest dialing the modules one by one to find the culprit. You can also make a backup and uninstall xposed to see if it makes any difference.
Thanks, I found the problem. I had a setting checked in gravity box that had to do with the power menu that made other shortcuts to the power menu such as ones with neo power menu xposed module and rom toolbox shortcuts to reboot, etc, to not function properly.