[App] Hacker's Keyboard extension for hardware keyboards support - Android Software Development

Hello.
I want to make communicator from my android phone (like Nokia 9210, new Livermorium Cosmo or F(x)tec Pro1). I am working on usable slide-out mechanism, but I got problem with hardware keyboard layout remapping. It is difficult without root and probably impossible to be combined with any alternative software keyboard. Therefore I went to make own app as fork of kwx Hacker's keyboard https://forum.xda-developers.com/showthread.php?t=1088776 . I would try to contact kwx and publish the source codes on the original https://github.com/klausw/hackerskeyboard, also add HW keyboards support to the app on the marketplace https://play.google.com/store/apps/details?id=org.pocketworkstation.pckeyboard. Until then you can try the first beta version.
Features:
1. No root needed.
2. Alt + Left shift == Next language/locales (MS windows standard like).
3. Alt + Right shift == Toggle software keyboard (neded to see actual layout, to make any unusual characters, or to use Hacker's Keyboard on small devices).
4. Icon with language/locales identification in Android notify area (this works for switching between English and Czech keyboard only in beta 001 version).
5. Hardware keyboard remapping depends from software keyboard language/locales switching. For example: I have checked "English", "Czech" and "Czech-qwerty" layouts in Hacker's keyboard settings. When "English" is active, HW keyboard is not remapped. When "Czech-qwerty" locale is active, top keys row is remapped to "+1ě2Ěš3Šč4Čř5Řž6Žý7Ýá8Áí9Íé0É=%´ˇ", "úÚůŮ" keys are present etc. When "Czech" locale (QWERTZ) is chosen, also "Z" and "Y" keys are swapped.
Limitations of beta 001 version:
- Hardware keyboard original layout can be "English" only. I think the vast majority of the offered bluetooth keyboards has an English layout.
- Icons displaying "EN" and "CS" are now ready in this version, other languages/locales will get the icon in the next versions.
- Behavior Alt+Y and Alt+Z, as well as Ctrl+Y and Ctrl+Z are not exchanged on the QWERTZ layout keyboard (and similar cases on other layouts).
- I am not sure, if this application installation wil not reset previous Hacker's keyboard settings (when present on phone before). OK, beta is installed as Hacker's Keyboard actualisation in this case.
- Modificators "´", "ˇ" etc affect the previous, not the following character, even multiple times. I do not know why. It is still usable.
Beta testers are welcome for reporting other errors.
Please, use antivirus before downloaded App using. I am totally new in android development. I do not know, how to protect developed Android applications from viruses. I hope my Android Studio is not infected.

Beta 001 apk.

Related

Set default kbd

hi,
i assume that your reponse is: NON, but...
when i push the hardware heyboard on the athena, the display is turned to on.
is possible to make (eassy) a program that fix the default sip to any of these:
a) NullKBD if the hard keyboard is pushed
b) other soft keyboard (i decide in config time) if the hard keyboard is not present
thank's
Strange, mine is already behaving that way. When I have the hardware keyboard attached, none of my softwar keyboard ever get activated, unless I manually trigger it. Even when I position my cursor inside a text entry field, by software keyboard does not pop up when hardware keyboard is attached.
I read that this is not the case with many of you, and I'mcompletely puzzled by the difference.
hi
what os version have you installed ?
I'musing the DopodU1000 English stock ROM released on July 27.

SIP doesn't pop up Keyboard after a few days.

I have a persistent reoccurring problem with the software keyboards.
After a soft reboot, everything works fine for the first two or three days. From then on, the SIP icon will not present a keyboard. This is true regardless of which default keyboard has been used. This suggests the fault is not with any particular keyboard.
I use the following keyboards:
- HTC Full keyboard.
- Swype.
- TouchPal.
- Resco Keyboard.
When this problem occurs, all other functions of the phone continue to work perfectly (albeit I can't input any data). Thus, my only recourse is to perform a soft reboot - which solves the problem for a few days.
I have a Telstra HD2 with native ROM. I use the native Sense UI. I have a moderate amount of popular third party apps installed.
Question:
1) Does anyone else have this problem?
2) Is there any permanent remedy for this problem?
3) If not, is there another temporary fix other than soft reboot (ie: changing a setting in the Registery - but without needing use of the keyboard. This could be running a *.REG file to restore some value).
4) What could possibly be causing the SIP to be non-functional?
... any help or direction would be appreciated.
I believe I found the fault.
Resco Keyboard Pro, version 5, with Fitaly Skin. The skin was downloaded from Resco's website. It "seems" to be fine, but was found the cause an eventual disfunctioning of the SIP after a few days on two different smart phones: HTC TPro2 and HTC HD2. I suspect there is a memory leak on some type of registers (stack). Only after continual use of that keyboard does the SIP eventually fail to show the keyboard anymore. This does not happen with my other keyboards.
Remedy: don't use Resco Keyboard with at least the Fitaly skin.
Case closed.
Skeleton said:
I believe I found the fault.
Resco Keyboard Pro, version 5, with Fitaly Skin. The skin was downloaded from Resco's website. It "seems" to be fine, but was found the cause an eventual disfunctioning of the SIP after a few days on two different smart phones: HTC TPro2 and HTC HD2. I suspect there is a memory leak on some type of registers (stack). Only after continual use of that keyboard does the SIP eventually fail to show the keyboard anymore. This does not happen with my other keyboards.
Remedy: don't use Resco Keyboard with at least the Fitaly skin.
Case closed.
Click to expand...
Click to collapse
What is the "SIP Icon" that you refer to in your original post? In the European Version of HD2 the SIP function is disabled and we need to intall external programmes for SIP/VOIP. Is your SIP original function (which is an integral part of WM) enabled?
paulmor said:
What is the "SIP Icon" that you refer to in your original post? In the European Version of HD2 the SIP function is disabled and we need to intall external programmes for SIP/VOIP. Is your SIP original function (which is an integral part of WM) enabled?
Click to expand...
Click to collapse
SIP/VOIP is different is for phone calls.
SIP/Keyboard is "software input program"; SIP is the little keyboard icon that allows you to open the keyboard, or select a different keyboard.

Bluetooth keyboard layout switching

Today I've accidentaly found out how to switch different language keyboard layouts on my Bluetooth HP Wireless Keyboard (the one designed for HP TouchPad). In the past, I always struggled when tried to search for info about switching layouts on BT keyboards on Android. Most of the instructions are outdated (from pre-BT HID Android support era) or very complicated system files hacking.
I have a suspition that my todays discovery is related with the latest firmware upgrade (KK* > LA4). After this update, every time I connect the HP wireless keyboard, it always overrides my input method from NullKeyboard or any other to Samsung's default. Good thing is that you can hide soft keyboard by hitting back button and it doesn't reappear until you touch the screen/text field again. And the best thing is that if you have two (or maybe more) languages activated in Samsung keyboard setting, you can switch layouts by swiping the soft-spacebar (assuming you have the swiping option on in the Samsung keyboard setting menu). Layout is then reflected on bluetooth keyboard too! Perhaps this works with other bluetooth keyboards from other manufacturers too. Also, when you activate one or more layouts, you need to turn off and on BT keyboard once (reconnect in other words).
I just wanted to share this with you, the great community of XDA ;-)

Installing modified keyboard layouts on windows 8.1

I've recently been trying to learn german just to expand my knowledge a bit, this of course requires german characters however I am using a laptop with a UK English keyboard for which there is no way to type german characters without the old alt+numpad trick, which is great but my laptop doesnt have a numpad either as phyical keys or a Fn+something else combo.
My intended solution was to over-ride the existing alt-gr + u = ú as is default on a UK keyboard to be ü instead and managed to create this new layout with the old Microsoft Keyboard Layout Creator tool here: http://www.microsoft.com/en-us/download/details.aspx?id=22339
But I cannot for the life of me work out how to activate a file created with that tool as my actual keyboard layout.
The only guide I found simply said to double click the .ksc file and windows will do the rest, no, it opened the tool again. If I select project > test keyboard layout it works 100% perfectly. I did find build DLL and setup package in that menu too, this gave me a setup.exe which I have ran but my new layout does not appear as an option in control panel as a selectable layout for any language?
I have tried rebooting the system, it still doesnt appear as an option. Is it not possible to use 3rd party keyboard layouts anymore?
Rebooted (again), re-ran the setup program, rebooted again and it still wasnt there but was importable as a layout in the editing tool, rebooted yet again and it suddenly enabled itself as the active language.
So I guess its sorted but being very temperamental about installation in the first place.
Why not just install the German keyboard via Control Panel | Language. It's fast to toggle between keyboards with Win+Space. Umlauted vowels (and anything language-specific) are then easily accessible.
For single-key mapping, the old KeyTweak still works fine in 8.1. Pretty simple to use. My old KB doesn't have the Windows key, and I was surprised that it could be remapped.
That was my original workaround, but that stuck the umlauted keys ontop of things like - and ; At least with my reconfigured keyboard I can make the connection between u and ü and I no longer have to cycle languages occasionally, didnt appreciate the swapping of Y and Z much either.
Although thats another weird issue. right now win key + space does nothing because I have turned german language off again, but sometimes after restoring from hibernate English US appears as an option I can switch between, then hibernate and resume the machine again and English US disappears? Very strange, not a major issue at least.
>but that stuck the umlauted keys ontop of things like - and ;
If you're learning Deutsch, I doubt a single key remap is adequate. Have hard-copy printout of the KB layout next to you, and refer to it. Or, if you just need the occasional ä/ö/ü, toggle out, type the char, and toggle back to ENG. Although English is now my primary language, this is what I do when I need to type in my native tongue.
Have not encountered issues with hibernating and disappearing keyboards. Then again, I don't do hib. The active keyboard has an indicator on the taskbar, so there shouldn't be confusion.

How to change QWERTZ keyboard layout to act like QWERTY?

I just activated a Blackberry Priv. However, i now notice that the lovely hardware keyboard is QWERTZ layout instead of QWERTY.
How do you switch the language/layout of the hardware keyboard? I cant find any information on this with google - only information on other blackberry devices. I don't get it, since I have the keyboard set to US English in the settings panel. There doesn't seem to be any other option regarding the layout?
DrAzzy said:
I just activated a Blackberry Priv. However, i now notice that the lovely hardware keyboard is QWERTZ layout instead of QWERTY.
How do you switch the language/layout of the hardware keyboard? I cant find any information on this with google - only information on other blackberry devices. I don't get it, since I have the keyboard set to US English in the settings panel. There doesn't seem to be any other option regarding the layout?
Click to expand...
Click to collapse
My keyboard is QWERTY as it should be.
1) Did you update Blackberry apps from the Play store? If blackberry apps don't show in play store, then just search for "blackberry" in the play store and all needed apps will appear and update button will show.
If you have already done the first step, then go to settings>language & input>blackberry keyboard settings>input languages and here might be an update to the specific language.
I've updated the blackberry software, but still no options seem to effect the hardware keyboard. I can change the layout of the software keyboard, but it only seems to apply to the software keyboard.
DrAzzy said:
I've updated the blackberry software, but still no options seem to effect the hardware keyboard. I can change the layout of the software keyboard, but it only seems to apply to the software keyboard.
Click to expand...
Click to collapse
By the way, do you see the on-screen keyboard when physical one is open?
No, I don't see software keyboard on screen when the hardware keyboard is out. Am I supposed to? That seems like it would be undesirable. I see just three suggested words along the bottom of the screen.
any luck with this? i would love to change freom qwerty to qwertz and have actuallz physically changed the keyboard already... but the setting to change it is missing
Same here. Just bought BlackBerry Priv with psysical qwertz and found that there is no tweak keys for that. I would like to change these letters virtualy, to press z and get y and opposite. How to do this. Help!
This will help solving it, install and swap y and z https://play.google.com/store/apps/details?id=innerlife.keyboard.multilanguagekeymapredefiner
just wanted to comment and say this helped me a ton with my key2 thanks so much @Mr.PeterAmgad!!
fraunhofer777 said:
just wanted to comment and say this helped me a ton with my key2 thanks so much @Mr.PeterAmgad!!
Click to expand...
Click to collapse
I would like to use it with keyone.
any side effects?
can you still use the shortcuts?
google play says this is for older android versions, did you find a newer version?
thx...
Mr.PeterAmgad said:
This will help solving it, install and swap y and z https://play.google.com/store/apps/details?id=innerlife.keyboard.multilanguagekeymapredefiner
Click to expand...
Click to collapse
Thanks, this worked! But now the number 7 is mapped to the Z key (alt + z), and alt + y brings out parenthesis. It's not a huge issue, but it seems there is not way remap alt + y so it will output 7 as it is in the original layout.
Also it seems there is no autocorrect available at all when using this keyboard? I was relying on autocorrect to put the right accents in Spanish, I can't seem to be able to enable this again even if I switch the language to Spanish.
In the end I created a custom QWERTZ to QWERTY keyboard for AnySoftKeyboard. It solves the issue of having Y mapped to parenthesis and Z to number 7 I mentioned above.
I made them for both English and Spanish (the Spanish one lets you write "ñ" by pressing "n" three times).
I also made a custom build of AnySoftKeyboard that make predictions work with the Key2 hardware keyboard. But if you just want the remapping, it works the fine with the official AnySoftKeyboard, just predictions don't work unless you use the on-screen keyboard.
Only tested with the BB Key2.
raymccoy said:
In the end I created a custom QWERTZ to QWERTY keyboard for . It solves the issue of having Y mapped to parenthesis and Z to number 7 I mentioned above.
I made them for both English and Spanish (the Spanish one lets you write "ñ" by pressing "n" three times).
I also made a custom build of AnySoftKeyboard that make predictions work with the Key2 hardware keyboard. But if you just want the remapping, it works the fine with the official AnySoftKeyboard, just predictions don't work unless you use the on-screen keyboard.
Only tested with the BB Key2.
Click to expand...
Click to collapse
Hello raymccoy,
i tryed your workaround, but its not working on my Key2. I installt the Anysoftkeyboad from Your attachments and your languages apks. But my physical Keyboard does not change the layout. Can you tell me the steps to install?
Thanks
Marc
it does not work for me either. it does not remap anything, furthermore it crashes
I have to correct myself! it works, but it's necessary to install the last version of the app (from Playstore) to prevent it from crashing... AND it's necessary to show the virtual keyboard, otherwise physical keyboard remapping will not take place. Thankfully, the virtual keyboard can be made really tinyn so it will not be too invasive on the screen (see screenshot). Tested on BB Key2.

Categories

Resources