Replies: 9 comments 18 replies
-
|
Is there a guide for "send intent"? |
Beta Was this translation helpful? Give feedback.
-
|
Hello sds100, First of all, thank you for developing KeyMapper. I have a question regarding the use of intents to activate functions on other APPs. I'm using KeyMapper to map an external USB button to start the recording of a GPS track on the Oruxmaps app. To test, I'm using the last free version of Oruxmaps 7.4.25 (https://www.oruxmaps.com/vers2/OruxMaps7.4.25.apk). Oruxmaps includes specific intents for starting, stopping, resuming the recording of the GPS position. As per the documentation on Oruxmaps, one scample intent would be (https://www.oruxmaps.com/oruxmapsmanual_en.pdf): • Stop recording: I've got the button working, as I receive the "on screen message" The problem I have is that I get no response from the Oruxmaps app, but I don't know if I'm using the KeyMapper in the right way. Should I also install Shizuku for doing this? Is it necessary to install tasker / automate for doing this? I assume that this should be really easy, as the Oruxmaps is already prepared for receiving intets calls, but I haven't been able to make it work. Attached the screenshots of the configuration I'm using for the KeyMapper APP. Any help would be appreciated. For all your help, thank you in advace and again thank you for developing such a useful APP, |
Beta Was this translation helpful? Give feedback.
-
|
Hello sds100, I have a question regarding the use of KeyMapper when the display of the phone is off. I'm configuring KeyMapper to launch the start / stop of the GPS position recording for open water swimming. The GPS App I'm using is Oruxmaps. I usually use Oruxmaps with the screen off. So it is working as expected with the screen off. As shown in the post above, I've managed to launch the start/stop GPS recording actions on Oruxmaps. So far, so good. The problem arises when I put the display off. I know that the bluetooth button is connecting with my phone, as every time I press the button I hear a sound. So, the button is connecting well to the phone. But, when the display is off, KeyMapper does not execute the actions as expected. If I power on the display, even with the display still locked, KeyMapper comes back to life. When I set the display to off again, KeyMapper is again ignoring the bluetooth button, and the actions are not launched. My question is: Is there any special setting for making KeyMapper to work when the screen is off? For all your help, thank you in advance. Best regards. Txane. |
Beta Was this translation helpful? Give feedback.
-
|
Hello again sds100, I've finally managed to power on the screen of my phone without touching any physical key / display on the phone. In this way I'm able to use KeyMapper for my application. KeyMapper is great, as it allows the use of a single key to trigger three different actions according to the single press, double press and long press configuration. In this way, with a single selfie button, I can send three different intents to the target App. Again, thank you for the hints, your help and also for KeyMapper. In case It's useful for the community, I detail the implementation of the solution below to overcome the "Screen Off" limitation: The Screen Off Problem: In order to guarantee that the target app (In this case Oruxmaps) will appropriately receive the intent, the target app must be the App with the scope of the operating system, in other words, it must be the App on the screen of the phone at the time that the intent is to be received. Nevertheless, when the screen is off, if the objective is to launch any action on the target App through the Bluetooth keyboard /joystick /button, a problem arises in KeyMapper, (and any similar App,) as Android doesn’t allow to detect key events in this scenario. One option to allow KeyMapper to work correctly, (departing from a screen off situation,) would be to provoke, somehow, the change on the screen from the off to the on state through the use of the Bluettooth keyboard/joystick/button. To achieve this, one option is to use an Android’s automation App. There are various options, among which can be highlighted: Tasker (Paid App), Llamalab Automate, and Automagic (non maintained but still downloadable). In this case, Automagic has been used power on the screen by catching the Bluetooth connection event of the Bluetooth keyboard/button with the phone. It’s important to note that, as it happens with Oruxmaps, automation Apps also need to be in the foreground to appropriately catch the triggering events for the desired actions when the screen is off. The working sequence used to power on the screen, send the intent to the target App using KeyMapper to latter power down again the screen is: The Flow used in Automagic, has the following structure: |
Beta Was this translation helpful? Give feedback.
-
|
Is there a way to make the action tap screen to a click like a mouse. |
Beta Was this translation helpful? Give feedback.
-
|
I set (in keymapper) volume down button (on Pixel 8a) to launch camera, works fine. But when I want to do screenshot, power + volume down, it also launches camera and also does a screenshot. Is it possible to add some constraint, so in case power + volume down, it will do screenshot only and not launch camera? |
Beta Was this translation helpful? Give feedback.
-
|
I've been using Key Mapper for quite a while now, having replaced Button Mapper with it a few years ago. I'm currently running version 3.1.1 on Android 9, and I use it in conjunction with Tasker so I was excited to see implementation of toggling individual keymaps via intent would finally be possible. But after installing 4.0.0, I was extremely disappointed that my key event keymaps no longer work, and best I can tell, even upgrading to PRO will not bring back my lost functionality. Currently, Shizuku on Android 9 works fine for my purposes. Is this method not supported in 4.0.0+? And am I correct in assuming that purchasing PRO won't make a difference? I get the feeling that this "is a feature and not a bug," which is incredibly disappointing. |
Beta Was this translation helpful? Give feedback.
-
|
Hello, I just wanted to ask a quick question. I just installed KeyMapper and am not sure about giving it "full device access" ? does it require it, or did I misinterpret something during the first install/setup? Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
Oh, ok, thank you for taking the time to explain. I get what you're saying
about Shizuku, a built-in clone is definitely the better idea. I'll have to
double check when I get time, but if I remember correctly, my issue was
that the new mode requires Android 11+, but my current setup via Key Mapper
3.2.1 with Shizuku works fully on Android 9. Unless maybe I'm missing
something…
…On Sunday, December 7, 2025, Jack Ambler ***@***.***> wrote:
Hello! Allow me to explain what has happened.
In version 4.0 we are introducing a lot of new functionality that would
normally require Shizuku. However, we recognised that Shizuku is not very
user friendly to set up and not something we have much control over. We
want Key Mapper to be miles ahead in terms of user experience and Shizuku
would only hold us back over time. (No disrespect to Shizuku, its a
fabulous tool and works great to provide root-like functionality for many
projects like ours).
So we have devised our own "Shizuku clone" which is built into the app.
Internally we call it the "system bridge". It is a direct replacement for
the Shizuku features in Key Mapper 3, plus it allows for screen-off
remapping of any button, including the power button, mouse buttons, and has
the capability to be expanded to joysticks and other complex gaming things
in future.
PRO mode is the frontend for the system bridge, and like the system bridge
it is *free and open source*. We are taking suggestions for a better name
and we understand the confusion 😆. To get PRO mode working you can either
use our own set up tool or bootstrap with Shizuku, and its all explained in
the Key Mapper settings.
We have a bug right now that for people migrating from 3.x to the 4.0
beta, we are not using the existing Shizuku permission to bootstrap PRO
mode. We will fix that and then your situation will no longer happen.
To get your key maps working again today, you just need to follow the
steps in the Key Mapper settings to start PRO mode with Shizuku. Sorry that
it hasn't been a bump-free transition, we are working hard to improve the
3.0 to 4.0 transition because there are a LOT of moving parts.
—
Reply to this email directly, view it on GitHub
<#1012 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/B3EU2XBDJXGTTIXY3PBJGQL4ARVNFAVCNFSM6AAAAACGFJT7P6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKMJYHAZDEMI>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.















Uh oh!
There was an error while loading. Please reload this page.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions