Remove All Ads from XDA

Car Installs - Triggering a Tasker Task from Keyboard

13 posts
Thanks Meter: 1
By bryce007, Junior Member on 11th April 2014, 12:54 AM
Post Reply Email Thread

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!
13th April 2014, 08:18 PM |#2  
aarongillion63's Avatar
Senior Member
Flag Grand Rapids MI
Thanks Meter: 136
Donate to Me
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
The Following User Says Thank You to aarongillion63 For This Useful Post: [ View ] Gift aarongillion63 Ad-Free
14th April 2014, 06:28 AM |#3  
OP Junior Member
Thanks Meter: 1
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
24th April 2014, 03:05 PM |#4  
Junior Member
Thanks Meter: 0
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


Maybe this is helpful

25th April 2014, 12:36 AM |#5  
Lokifish Marz's Avatar
Inactive Recognized Developer
Flag Olympus Mons, Mars
Thanks Meter: 3,752
Donate to Me
What are you trying to accomplish?
25th April 2014, 12:24 PM |#6  
Junior Member
Thanks Meter: 0
Originally Posted by Lokifish Marz

What are you trying to accomplish?

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.
25th April 2014, 08:55 PM |#7  
Lokifish Marz's Avatar
Inactive Recognized Developer
Flag Olympus Mons, Mars
Thanks Meter: 3,752
Donate to Me
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.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes