philippc / kp2a_keyboardswap Goto Github PK
View Code? Open in Web Editor NEWKeepass2Android KeyboardSwap Plugin
License: GNU General Public License v3.0
Keepass2Android KeyboardSwap Plugin
License: GNU General Public License v3.0
I have more than 50 characters long password and typing it regularly with a keyboard layout (QWERTY) which i never used before is really hard. Is there any way to enable Dvorak keyboard layout in Keyboard swap?
since kp2a is still not available via f-droid and non of your plug-ins, is it possible to also release this plug-in with apks on github?
thanks for considering publishing without google!
First A big thank you for your great work.
I want to suggest a little improvement for the keyboardswap2 plugin.
Problem in short:
For me (I am not an android developer) it was not obvious that I have to put a SPACE between keyboardswap2 and android in the pm grant command for adb shell. I found out this after checking how the manifest file (out of source code) is structured, but maybe other users will give up faster.
More details about the problem:
In the keyboardswap2 plugin instructions under no 4 the command looks like it is quite long and that there is just a linewrap. It is not easy to recognize that there should be a SPACE at the end of the line. But the correct command is:
pm grant keepass2android.plugin.keyboardswap2 android.permission.WRITE_SECURE_SETTINGS
Maybe this issue is only crucial on some devices with special screen width. I use Huawei P10.
Hard and Software used
Huawei P10
VTR-L09
EMUI-Version: 8.0.0
Android-Version: 8.0.0
Screen: 1920*1080
Possible solutions:
It would be great to be able to switch to the keepass keyboard automatically when unlocking a database. Even if the keepass keyboard is always on while inside keepass it would be a big help.
Using the keepass keyboard reduces the number of trusted parties required while entering database passwords.
Just as mentioned by a number of people in the comments on https://www.xda-developers.com/keyboardswap-plugin-keepass2android-automatically-switches-keyboards-without-root/ , even though I don't get any errors with the pm grant
command, the plugin keeps indicating that it doesn't have the required permissions.
When intentionally changing the command (like adding extra characters to the package or permission name) adb shows an error message. But when running pm grant keepass2android.plugin.keyboardswap2 android.permission.WRITE_SECURE_SETTINGS
in adb shell
the command executes without error. But it doesn't seem to have any effect.
Searching around (for example here), I see comments like "WRITE_SECURE_SETTINGS is NOT available to applications!" or that the app would need to be a system app?
Any idea what is going on (I suppose the plugin is at least working for the developer and the 30 persons that gave more than 1 star on Google Play)?
Samsung Galaxy J3, Android 5.1.1 (not rooted, stock Android version on that phone)
First, just wanted to say I love this plugin and Keepass2Android. Thank you for all your work!
So this behavior just started when my phone upgraded to Android 11, so it's probably a side-effect of that. But now when I select an entry in my database (with the KeyboardSwap Plugin enabled) the KeyboardSwap Plugin app pops-up real quick as a new card then Keepass2Android app is switched back to. Not sure I'm using the correct terminology, but by "new card" I mean what shows up when you launch an app. Also, if I hit the square button to see all the cards of apps currently running, I can see the KeyboardSwap Plugin card just to the left of Keepass2Android's card but when I try to select it it just disappears (showing me my launcher). It still shows up every time I hit the square button, but it always disappears when I try to select it.
All that said, Keepass2Android and the KeyboardSwap Plugin both still work correctly. It's just a little annoying that the KeyboardSwap Plugin app card opens up since I usually double-tap the square button to swap back to the app I was using to enter in my login credentials, but now double-tapping the square button takes me to the KeyboardSwap Plugin which then promptly disappears.
My phone is a Pixel 2XL running Android 11, and I'm using the Nova Launcher (not sure if that matters). If you want any more info, just let me know.
Thank You.
Trying to set up KeyboardSwap Plugin on Android 12, Xiaomi .
When running "pm grant keepass2android.plugin.keyboardswap2android permission.WRITE_SECURE_SETTINGS" i get "Exception occurred while executing 'grant':
java.lang.SecurityException: grantRuntimePermission: Neither user 2000 nor current process has android.permission.GRANT_RUNTIME_PERMISSIONS."
Some help would be greatly appreciated.
This happened on a Realme X3 SuperZoom.
The solution is to enable the "Disable Permission Monitoring" option (see https://intercom.help/testprojectio/en/articles/3777631-realme-devices-extra-permissions-required).
Hi there,
I've been using Keyboardswap for years, everything works as expected.
My phone got an upgrade to 13 Kbswap still works. but now I got a new phone with Android 13 out of the box and I get 'not compatible with your version of Android'.
Is it possible to update KBswap to enable Android 13/14?
Cheers
Hi!
Love your work.
I have recently tried the KeyboardSwap plugin.
Re. Similar GitHub 'issues':
As far as I can tell I did the ADB part correctly, including the space.
It does make sense to have the autoswitch happen as soon as KeePass2Android starts.
Additional suggestion: Add the instruction to go into KP2A Settings and enable AutoSwitch to the KbSwap plugin Instructions.
I can swap manually, but it seems this must be working for others so I may as well feedback into the process that mine hasn't been successful.
I have done a restart more than once.
I'm using a Huawei P10 lite on Android 8.0.0
Hope you can help and thiat this is useful input.
Best wishes.
Device: Samsung Galaxy A5 (SM-A520W)
OS: 8.0.0
App version: 1.09a-r3
Plugin version: 1.0.5
Adb version: Android Debug Bridge version 1.0.32 Revision eac51f2bb6a8-android
PC OS: Microsoft Windows [Version 10.0.19043.1110] 21H1
Plugin doesn't show in app plugins (normal?). Running plugin and performing test says plugin is configured correctly.
Doesn't matter if database open or not, app always has Keyboard switching option greyed out.
Plugin and/or app installed to external or internal memory doesn't matter - same result.
Exiting Adb shell before or after attempting to change app setting doesn't matter - same result.
Disconnecting device from USB after exiting Adb shell but before or after disconnecting from USB doesn't matter - same result.
(Instructions need to be updated slightly? "Keepass2Android > Settings > App Settings > Password-Access > Keyboard switching" is "Keepass2Android > Settings > App Settings > Password entry Access > Keyboard switching" on my OS.)
Other plugins installed, and functioning normally: QR Plugin 1.0.1, AutoFill-Plugin (Accessibility Service) 1.02.
I'm at a loss. I've tried everything I can think of.
Most app with plugin behave this way, most notably majority of xposed modules.
Also maybe the QR plugin maybe.
I have been experiencing an issue for a while and have now managed to narrow the issue down to two entries in my database (I think). The entries for GitHub and GitLab seem to break the auto switch behaviour.
Expected behaviour:
Experience:
The only way to enter these entries is to copy and paste from the K2A app. Also, I find that the issue persists for other entries once it was triggered by one of my two GitXXX entries.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.