Simple keyboard switcher for TPT - Thinkpad Tablet Android Development

I wrote a small app as a proof of concept that allows you to change between UK & US layouts when using the folio keyboard. This is designed to be used on the cyanogen port by Koshu.
I fixed up a small problem with the US layout recently (YEN symbol not recognised). If you'd like to try it out the APK is attached. The general usage is that you run the app, click the button of the language you want to use and:
1) If this is the first time you're doing it you may need to reboot the tablet
2) Otherwise just plug the folio out and back in again.
To be safe make a backup of /system/usr/keychars/Vendor_1241_Product_0003_Version_0110.kcm first and use that to restore your default keyboard layout if something is amiss. The restore button in the app needs a bit of work and all it does right now is to delete the files that it created.

Sounds very cool, but I don't have that file. Running 089 WE.

This is mainly designed for use with the Cyanogen port that Koshu is working on, sorry I forgot to mention that.
For stock ROMs I think lenovo edited the Generic.kcm, Generic.kl files to suit the keyboard layouts.

Related

[1/28/08] iPhone skin for PCM Keyboard - refined

After many months of tweaking this skin, I think it is about as good as it can get (for my personal use). For those of you not familiar with PCM Keyboard, it is a program being developed as a replacement on screen keyboard for PPC devices.
I am providing the skin and layout files only, please refer any program or device compatibility questions to the developers thread or website.
The latest version the application can be downloaded at this link (keep in mind the developer currently puts an expiration of 30 days on each version until it is commercially released. So plan on upgrading to the newest version each month or plan on purchasing the software when it is launched):
http://pocketcm.com/keyboard2.php
Support:
http://pocketcm.com/phorum/index.php?9
XDA thread with the latest version information:
http://forum.xda-developers.com/showthread.php?t=321712
There are two types of files that have to be loaded onto your device and selected in the options/settings for this skin to work: The keyboard layout file and the keyboard skin file. Choose either the Eng 2many or Eng 2many., layout (the second having the , and . next to the space bar) AND either the 2many GreyiPhone or 2manyiClone skin. I suggest restarting the device to make sure everything has changed correctly.
This design was done to allow almost any layout work with this skin, so check out the multi language layouts and a "azerty" layout created by ialu in this thread:
http://forum.xda-developers.com/showthread.php?t=330525
Here are some features of this skin:
Main screen:
-Numbers pop up if you press and hold the "123#?" key
-Basic symbols pop up from the space bar. Period with a space is the default pop up key, so if you press and hold too long and don't slide to another symbol, you will get a period and a space.
-If you press and hold a letter, you will get a caps letter (idea borrowed from my BlackBerry).
-Caps lock is still double press on the shift (up arrow) and double press to change back to lower caps.
On the symbol keyboard (one press of 123#?):
-If you press the internet explorer key you will get "http://www."
-If you press and hold the internet explorer key you can choose: https://, .net, .org, .com or www.
The Grey iPhone skin / layout also supports landscape. This was not easy and I had to compromise some eye candy to get all the buttons to look right in both orientations. It does take up a LOT of screen in landscape, but I didn't want to make the buttons smaller for portrait use.
Keep in mind all of this customization is set in the layout file and can be opened and modified in wordpad. The only trick is making sure it is saved as a .layout file. I suggest making a copy of the layout file you are changing, rename it, make your changes and then save it (not save as).
I made this skin for my personal use and am sharing because I haven't seen anything else that works as good - for me. I am not a developer or a designer, so again please try to search for questions in the thread links I have provided. Please feel free to modify, use, distribute any of the graphics or file settings - no need to ask
Newest Version has been posted in this thread:
http://forum.xda-developers.com/showthread.php?t=366987
If you prefer black keys with white letters, got to this post:
http://forum.xda-developers.com/showpost.php?p=1718149&postcount=26
If you like some color in your keyboard, try this version:
http://forum.xda-developers.com/showpost.php?p=1597831&postcount=21
Layout file with ( ) that pop up from the "." key:
http://forum.xda-developers.com/showpost.php?p=1724593&postcount=46
HTC Touch Style Skin, with help from Kin0Kin:
http://forum.xda-developers.com/showpost.php?p=1766908&postcount=2
Here is the eye candy:
Great look!
What about support cyrrilyc? (Russian?)
Tks for sharing...
very beautifull thank you man
preciate you
This is VERY nice
Many thanks.
iPhone12 files
I download the zip file but how do I install it on my PPC 6800 ?
PHP:
Excellent! Thanks! Though I will need to slightly mod it to add the "_". No one seems to put that on their layouts. Apparently, I'm the only one who ever uses it, and I do in my passwords sometimes...
EDIT: Just noticed that a hold of the "-" will also do a "_". Cool! I'll still add a dedicated button for it. I don't need the .com since I made the press and hold of the http button default to a .com, instead of .net, and also I use the "_" much more than .com as I have most of my sites bookmarked...
But awesome skin again! Thanks for the time and effort!
jomo25 said:
Excellent! Thanks! Though I will need to slightly mod it to add the "_". No one seems to put that on their layouts. Apparently, I'm the only one who ever uses it, and I do in my passwords sometimes...
Click to expand...
Click to collapse
Press and hold the "-" key and voilá...
radiototal said:
I download the zip file but how do I install it on my PPC 6800 ?
PHP:
Click to expand...
Click to collapse
1. Download the program cab from the link on post one (v12 is the current).
2. Install onto the device
3. Using active sync, open the folder program files\PCMKeyboard
4. Drag all of the files in the zip (or just the iphone12 skin and eng iphone12 layout if you don't want the multi language options).
5. Go to settings, input and select PCM Keyboard as the input method
6. Click on the options button and change the keyboard layout and keyboard skin to Eng iphone12 and iPhone 12. See the screen shot. I alsot changed the feedback on letters to 30 ms from the default 100. This is how long it takes for the feedback graphic to pop up. Basically 30 is if you want it to show up quickly when you press letters (like the actual iPhone) or if you want to type faster and not have it show the pop up of the letter you pressed, leave it at 100.
7. Once the options are set, press OK and OK to exit the input screen.
8. I suggest restarting the device to make sure the layout and skin set correctly. If you do not have a SIP change program on your device, when you restart, it will default back to the standard keyboard. I recommend default IM and have attached the cab file in this post. Install it, run it and it should keep PCMKeyboard as your default, even after restarts.
just installed works great thanks!
Awesome
One word - AWESOME!!
is there a possibility to include a copy/cut/paste/undo button? would be handy.
or just a Control button to be used incombination with X/C/V/Z as in the default SIP
EDIT: very nice skin btw!!thx for sharing..
I Love it!!
This is Really good!
Just a view question,
Could you make the same thing only then change the colors
so, dark keys with light characters?
Would make it complete!
and is it costumizable?
because i have changed the order of the characters ever sinds i use pcm keyboard.
but now when i use your skin i don't get numbers but special characters when holding the 123 button.
and i don't have a . next to it so i lost the extra options when holding that.
can i change it my self in one of the files?
VOODOOS!L said:
is there a possibility to include a copy/cut/paste/undo button? would be handy.
or just a Control button to be used incombination with X/C/V/Z as in the default SIP
EDIT: very nice skin btw!!thx for sharing..
Click to expand...
Click to collapse
2manyphones, I now see that keeping the 'RETURN' button pressed, gives a menu to copy/paste/cut!! so forget my request, this skin is perfect!! thx again!!
woooww
This keyboard is the best one i so far used..just so fast..red coloring is a great idea..thank you man
Ok!
I just downloaded the keyboard and installed it on my ETEN X500+
It's o so f..king great!
Great skin and it also supports Russian!
But!
Where are the commas, full stops etc????
What about a Greek layout??
Maybe I can helb about the greek layout
Thanks man.
Great work!
Absolutely Wonderful, Amazing F****G wORK Awesome My pocket Pc is now Final. Thank you
Great! Thanks a lot

Why only some keyboards?

Ultra Keyboard is not on the Market when viewed from the Nook Color (only the "dictionaries" are).
So I went on my phone and used Root Explorer to grab the apk from data\app.
I pasted it into system\app on my Nook Color and changed the permissions (rw-r--r--).
After a reboot, I can select Ultra Keyboard from the Nook Color Tools app, but going into any text field, the keyboard never appears.
What am I doing wrong?
Has anyone else gotten Ultra Keyboard to work?
Paul22000 said:
Ultra Keyboard is not on the Market when viewed from the Nook Color (only the "dictionaries" are).
So I went on my phone and used Root Explorer to grab the apk from data\app.
I pasted it into system\app on my Nook Color and changed the permissions (rw-r--r--).
After a reboot, I can select Ultra Keyboard from the Nook Color Tools app, but going into any text field, the keyboard never appears.
What am I doing wrong?
Has anyone else gotten Ultra Keyboard to work?
Click to expand...
Click to collapse
I also would like to know the answer to this.
Does that keyboard app support the resolution of the NC?
Paul22000 said:
Ultra Keyboard is not on the Market when viewed from the Nook Color (only the "dictionaries" are).
So I went on my phone and used Root Explorer to grab the apk from data\app.
I pasted it into system\app on my Nook Color and changed the permissions (rw-r--r--).
After a reboot, I can select Ultra Keyboard from the Nook Color Tools app, but going into any text field, the keyboard never appears.
What am I doing wrong?
Has anyone else gotten Ultra Keyboard to work?
Click to expand...
Click to collapse
Another thing to try is to copy system/app/LatinIME.apk to your sd card, then change Ultra keyboard's name to system/app/LatinIME.apk. Reboot.
Might not make a difference, but worth a try. If you end up with no keyboard, just move your backup back where it was.
I don't have any keyboards. What happened?
notinterested said:
Does that keyboard app support the resolution of the NC?
Click to expand...
Click to collapse
No idea. How to check?
I'm just looking for a keyboard that has arrow buttons (and works on the NC), so if anyone knows of one, please let me know!
Paul22000 said:
No idea. How to check?
I'm just looking for a keyboard that has arrow buttons (and works on the NC), so if anyone knows of one, please let me know!
Click to expand...
Click to collapse
I'm starting to sound like I work for SlideIT (trust me, I was a loyal Swype user until last week), but SlideIT has arrow keys buried back on the last page of special characters.
wvcachi said:
I'm starting to sound like I work for SlideIT (trust me, I was a loyal Swype user until last week), but SlideIT has arrow keys buried back on the last page of special characters.
Click to expand...
Click to collapse
Oh wow! Thanks!
Thumb Keyboard works on the Nook COlor and has some of the best tablet features I have found -- including cursor arrow keys that work! It has several alternate keyboard layouts which all seem to work on my Nook Color -- except one standard QWERTY which failed to display the bottom row of keys that included the key to press that switches back to the layouts that work ... now I am stuck trying to figure out how to get out of the current layout ...
I am unable to get thumb keyboard too work! What did you do to get it to work? I tried everything...
Sent from my Evo using XDA App
wvcachi said:
I'm starting to sound like I work for SlideIT (trust me, I was a loyal Swype user until last week), but SlideIT has arrow keys buried back on the last page of special characters.
Click to expand...
Click to collapse
Swype has arrow keys. Swype from the swype key to the sym key and it comes up
Sent from my Galaxy Tab
nacron said:
Swype has arrow keys. Swype from the swype key to the sym key and it comes up
Sent from my Galaxy Tab
Click to expand...
Click to collapse
Yes, but does it work on the Nook Color?
Paul22000 said:
Yes, but does it work on the Nook Color?
Click to expand...
Click to collapse
Unless he knows of some development we missed (this has been thoroughly researched - see link), then no, still no Swype on NookColor.
http://forum.xda-developers.com/showthread.php?t=880056
wvcachi said:
Unless he knows of some development we missed (this has been thoroughly researched - see link), then no, still no Swype on NookColor.
http://forum.xda-developers.com/showthread.php?t=880056
Click to expand...
Click to collapse
Didn't realize that swype wasn't working on the nc. I'm here researching so I can root my wife's nc. I was simply going off the post that appeared to say that the poster had to switch from swype because of the lack of directional pad
Sent from my SGH-T959 using Tapatalk
Just an FYI, shapewriter seems to work. It is small, but functional.
teknikk7 said:
I am unable to get thumb keyboard too work! What did you do to get it to work? I tried everything...
Sent from my Evo using XDA App
Click to expand...
Click to collapse
I was actually just able to get it to work by copying the .apk into system/app with full permissions and then installing it from there. Didn't have to mess with LatinIME.apk and can switch back and forth easily.
Though I am having a problem when changing layouts and the row of keys with the spacebar/menu buttons disappearing.
mmarsman said:
Just an FYI, shapewriter seems to work. It is small, but functional.
Click to expand...
Click to collapse
Does it have arrow keys?
Sunrisemix said:
I was actually just able to get it to work by copying the .apk into system/app with full permissions and then installing it from there. Didn't have to mess with LatinIME.apk and can switch back and forth easily.
Though I am having a problem when changing layouts and the row of keys with the spacebar/menu buttons disappearing.
Click to expand...
Click to collapse
I'd love to know if you figure out the spacebar and menu buttons disappearing for the thumbs keyboard.
Edit: So I figured out that you can use Titanium Backup to wipe data and that resets the keyboard back to the large phone setting that allows spacebar and menu access. I cannot get any of the tablet keyboard options to work. None have the menu or spacebar option. I wanted the Thumbs keyboard because of the arrows. Unfortunately I can only find the arrows in the large phone keyboard which has a really weird layout. If anyone has any tips I'd appreciate it!
Sent from my rooted NookColor using XDA app
ictguy78 said:
I'd love to know if you figure out the spacebar and menu buttons disappearing for the thumbs keyboard.
Edit: So I figured out that you can use Titanium Backup to wipe data and that resets the keyboard back to the large phone setting that allows spacebar and menu access. I cannot get any of the tablet keyboard options to work. None have the menu or spacebar option. I wanted the Thumbs keyboard because of the arrows. Unfortunately I can only find the arrows in the large phone keyboard which has a really weird layout. If anyone has any tips I'd appreciate it!
Sent from my rooted NookColor using XDA app
Click to expand...
Click to collapse
I actually emailed the developer and they said they were working on sending out updates in the coming weeks and are aware of the problems with the tablet layout. He suggested deleting the XML file in the folder /data/data/com.beansoft.keyboardplus/shared-preferences and reboot the nook, to reset the keyboard. But using titanium backup might be quicker.
Paul22000 said:
Does it have arrow keys?
Click to expand...
Click to collapse
Sadly it does not have arrows.

[Q] Russian keyboard

Any chance I could get Russian (Cyrillic) keyboard on my rooted Kindle Fire HD?
vadimus123 said:
Any chance I could get Russian (Cyrillic) keyboard on my rooted Kindle Fire HD?
Click to expand...
Click to collapse
This is very easy. If you install Morelocale2 app, you will get Russian keyboard automaticly. But you wan't be able to switch it to English and back automatic ly. Or you can install any keyboard you want to system/app folder and use nook tools to switch keyboards.
Melodycd said:
This is very easy. If you install Morelocale2 app, you will get Russian keyboard automaticly. But you wan't be able to switch it to English and back automatic ly. Or you can install any keyboard you want to system/app folder and use nook tools to switch keyboards.
Click to expand...
Click to collapse
Thanks for you response. I successfully installed Morelocale2 app and now I have UI in Russian. However, standard keyboard still shows only English characters even with Nook Tools showing keyboard language as 'Russian'
As for installing additional keyboard - any recommendations here? This is my first Android device so I don't have too much knowledge of it.I tried to install what was claimed to be a standard ICS keyboard but it kept crashing every few seconds...
Touchpal has a Russian language pack that will change your keyboard's layout to the Cyrillic lettering. And you can easily change between layouts on the fly without closing the keyboard.
soupmagnet said:
Touchpal has a Russian language pack that will change your keyboard's layout to the Cyrillic lettering. And you can easily change between layouts on the fly without closing the keyboard.
Click to expand...
Click to collapse
This still does not work. Once I put "TouchPal_Keyboard_4.8.apk" into system/app, reboot and switch to it from Nook Tools I'm getting popup message "Touchpal Keyboard stopped" every 5 seconds and that's it.
Did you try to copy files from data/data/app.name/lib to the system/lib?
Sent from my KFHD
timurg said:
Did you try to copy files from data/data/app.name/lib to the system/lib?
Sent from my KFHD
Click to expand...
Click to collapse
Folder /data/data/com.cootek.smartinputv5/lib is empty
In my case, for Smart Keyboard Pro, full sequence looks like this:
1. install SKP;
2. copy apk to system/app;
3. change permissions to wr-r-r;
4. copy files from data/data/com.smartkeyboard/lib to system/lib;
5. reboot device;
6. choose SKP in Nook Color tools as a default;
7. profit)
Unexpected outcome: after I've selected the Russian layout as an option in SKP, in Nook color tools appears choice to mark the “Russian Amazon Keyboard“ as a default. In opposite to third party keyboards native amazon keyboard is not overlaid by navigational panel in landscape orientation. The obvious minus- there is no prediction dictionary for Russian.
Sent from my KFHD rooted
timurg said:
In my case, for Smart Keyboard Pro, full sequence looks like this:
1. install SKP;
2. copy apk to system/app;
3. change permissions to wr-r-r;
4. copy files from data/data/com.smartkeyboard/lib to system/lib;
5. reboot device;
6. choose SKP in Nook Color tools as a default;
7. profit)
Unexpected outcome: after I've selected the Russian layout as an option in SKP, in Nook color tools appears choice to mark the “Russian Amazon Keyboard“ as a default. In opposite to third party keyboards native amazon keyboard is not overlaid by navigational panel in landscape orientation. The obvious minus- there is no prediction dictionary for Russian.
Sent from my KFHD rooted
Click to expand...
Click to collapse
Well, I will try SKP tomorrow. Also, about #3 (permission change) - I noticed that Touchpal apk I copied into system/apps has rw-rw-rw. Should I remove writing permissions "group" and "other" or I can leave them as they are?
Sure, you have to remove write for other two groups, this is the point. Try it with your keyboard. it may help.
Sent from my KFHD rooted
timurg said:
Sure, you have to remove write for other two groups, this is the point. Try it with your keyboard. it may help.
Sent from my KFHD rooted
Click to expand...
Click to collapse
Just changed permissions for Touchpal apk in system/app - still same behavior.
So now restart your device, and install keyboard One more time. It should work now. I had the same problems with swype keyboard.
Sent from my HTC One X using xda premium
Melodycd said:
So now restart your device, and install keyboard One more time. It should work now. I had the same problems with swype keyboard.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Finally, I was able to get it working. It looks like it did not install properly first time - that's why 'lib' folder was empty. After I re-installed Touchpal I've got several files there. I copied them into /system/lib and after reboot I was able to switch to Touchpal keyboard with Nook Tools.
After that I realized that to be able to switch to Russian Touchpal needs to download Russian language pack and it always fails to do it from it's settings page. However, when I manually downloaded it from CooTek site and installed I've got Russian keyboard working!
The only question I have left is about keyboard itself. When I switch to landscape mode by rotating my Kindle the keyboard correctly changes its location staying on the bottom of screen, But, it does not extend it's width keeping it exactly same as in portrait mode.Is it normal or there is a setting somewhere I'm missing?
Anyway, thanks everyone for your help.
That is definitely not normal.
soupmagnet said:
That is definitely not normal.
Click to expand...
Click to collapse
This is how all keyboards work on our KFHD, except stock Amazon keyboard. I think those keyboards doesn't support 'hidding' navigation bar and use all screen width to display the keyboard. As i understand, keyboards from market should be updated to work properly. I don't know any device, where navigation bar is popping up and then hide...
Still stock Amazon's keyboard is the best. Is it possible to modify keyboard apk to add language change button? How hard is it? I am sure that this kind of modified Amazon's keyboard would be very helpfull for all not US users... Just if somebody know the thread where we can ask for such modification, point me please! :laugh:
I‘m using space bar to toggle between layouts. I unistalled all third party keboards and Amazon one works like a charm for me.
Sent from my KFHD rooted
timurg said:
I‘m using space bar to toggle between layouts. I unistalled all third party keboards and Amazon one works like a charm for me.
Sent from my KFHD rooted
Click to expand...
Click to collapse
I did try your method, but it didn't work for me. I did install keyboard pro, but after that, long press in Amazon's keyboard give me an option to change keyboards, but not the language. As for now I have 4 keyboards installed.
Sent from my HTC One X using xda premium
Try this one - in Nook Color Tools chose “all settings“ and the first option (without name) provide screen were you can choose different layouts.
Sent from my KFHD rooted
timurg said:
Try this one - in Nook Color Tools chose “all settings“ and the first option (without name) provide screen were you can choose different layouts.
Sent from my KFHD rooted
Click to expand...
Click to collapse
Wow! That's even better! Thanks a lot!

Custom keyboard layout

Hey, I found OK and caps lock keys on the D4 keyboard useless - I just don't see any difference between using OK, mapped as D-pad center, and Enter, and caps lock can be substituted by double press of shift. So I decided to play with the layout a bit, mainly because I was irritated by a need to touch the screen to work with clipboard or to go back.
The result is attached - a custom layout which remaps OK button from DPAD_CENTER to ESCAPE and caps lock from CAPS to CTRL_LEFT.
Esc works as the Back button and Ctrl is tested working in combinations of Ctrl+A (Select all), Ctrl+X (Cut), Ctrl+C (Copy) and Ctrl+V (Paste). Unfortunately Ctrl+Z/Y (Undo/Redo) don't seem to work... Any suggestions for other combinations to try?
I have tested it all on rooted Eclipse ICS 1.2 ROM, but it should generally work on all rooted Android 4.0.4 ROMs.
How to get it working?
1. You probably need to have your phone rooted first.
2. Optional - you might want to backup your original /system/usr/keylayout/omap4-keypad.kl if you're on different ROM (it should be all the same, but I haven't tested it)
3. Unpack the attached custom_layout.zip to the root of your phone - it will put omap4-keypad.kl into /system/usr/keylayout
4. Reboot your phone.
In case you'd like to revert the changes, I put the original keylayout from my system in original_layout.zip, or you can use your own backed up file
Hope you enjoy my mod. Also, which key would you suggest to replace by Menu? I'm thinking about SYM, but I still think the day I'll actually need it might come, unlike with caps lock and OK
For those interested in changing values for themselves I've attached scancodes of all the buttons given out by safestarap's key test - see keycodes.txt. If you're gonna change any .kl files, be sure to open it with some program supporting UNIX formatting such as PSPad - I really don't wanna see what would happen after editing it with Notepad You should probably also see Android documentation article about it first.
This sounds rather good...i wasn't going to, but this may give me a reason to root my phone. Thanks f for your work. It does seem illogical having those buttons. Btw what happens to LED when you press caps lock now.
Still running stock ics on Vodafone UK.
Sent from my DROID4 using xda app-developers app
This doesnt seem to work on stock rooted.
it seems the physical keyboard runs off generic.kl and the omap4.kl, but i simply used root explorer to edit the KL's and got things how i wanted them. i missed my HTC G2 alt + del/backspace = delete whole line, so i made tab the ALT_LEFT and problems solved, also mapped OK as CTRL_LEFT for copy paste ext.. just my pref.
also changed all the qwerty keys to WAKE_DROPPED to wake the screen instead of having to hit the top power button, as i leave my phone on my desk open constantly so its annoying to always have to hit the power button to wake.
So do you have to change the 2 files or just the one?
Sent from my DROID4 using xda app-developers app
bustr85 said:
Btw what happens to LED when you press caps lock now.
Click to expand...
Click to collapse
I have Caps Lock mapped as Ctrl and it's not connected to the LED at all - seems the LED is working as normal Caps Lock signalization. However, after double-press of Shift the caps Lock is activated and the LED signalizes it fine.
wheeliest said:
This doesnt seem to work on stock rooted.
it seems the physical keyboard runs off generic.kl and the omap4.kl, but i simply used root explorer to edit the KL's and got things how i wanted them. i missed my HTC G2 alt + del/backspace = delete whole line, so i made tab the ALT_LEFT and problems solved, also mapped OK as CTRL_LEFT for copy paste ext.. just my pref.
also changed all the qwerty keys to WAKE_DROPPED to wake the screen instead of having to hit the top power button, as i leave my phone on my desk open constantly so its annoying to always have to hit the power button to wake.
Click to expand...
Click to collapse
Didn't know the Alt+BkSp combination, thanks What other combinations do you use?
BTW Alt+Tab works for switching apps (I have now SYM mapped as ALT_LEFT and TAB is left untouched - I like to use it when filling forms).
In my mod it already is WAKE_DROPPED, but not by me, it's probably one of the Eclipse mods to stock
bustr85 said:
So do you have to change the 2 files or just the one?
Sent from my DROID4 using xda app-developers app
Click to expand...
Click to collapse
What do you mean? Do you refer to wheeliest's post?
Ah, good idea mapping SYM to ALT_LEFT. Then we can go in and define Alt key combos for the rest of the alpha keys, to get all the other symbols that we need (e.g., brackets, curly brackets, vertical bar, backquote...)
Sent from my DROID4 using Tapatalk
I edited both .kl's to answer the above question,
I also changed the "/" to work as a "?" with out shifting first. (which i changed in the omap4 keychars)
system/usr/keychars/omap4-keypad.kcm
its about the middle of the code, you get into the symbols after the numbers.
key SLASH {
label. number: '?'
base: '?'
shift: '/'
ctrl. alt. meta: none
and thats the only useful key combos i know.
I've tried to edit the keyboard for my AOSP Unofficial CM10/JB ROM. No luck at all.
None of the changes take effect and the shift key stops functioning as it should. You have to hold the shift key down and press the additional key for it to work, the same as you do on a computer keyboard.
I've tried to edit both the generic and omap4 files. It always ends up with the same result. Not looking for a fix just notifying you guys.
Long press symbols
Hi, does anybody know where to change symbols and/or their order in long press popup window?
screenshot - imgur.com/joN15zH
CM10 or CM11
wild_a said:
Hi, does anybody know where to change symbols and/or their order in long press popup window?
screenshot - imgur.com/joN15zH
CM10 or CM11
Click to expand...
Click to collapse
Unfortunately I don't know, but I never use it.
My short story:
My old phone was a Motorola Milestone 1 (Droid 1) with physical QWERTY.
I used it with Smart Keyboard Pro (SKP). It has an option called “Physical Keyboard”, by this way I reach the special characters of SKP’s actual language (long press on short character then some short press for selecting).
I changed for Droid4, upgraded for SlimKAT 4.4.2 installed SKP, but it is not worked with new 5-row keyboard. I can’t reach the keyboard’s yellow and my language-specific characters. Shift is not working with yellow keys.
Solution:
Change SYM and CAPS LOCK buttons in /system/usr/keylayout/omap4-keypad.kl:
I changed SYM button for “ALT”:
KEY 162 ALT_LEFT
and the CAPS LOCK button to “CTRL”:
KEY 222 CTRL_LEFT
Than modify /system/usr/keychars/omap4-keypad.kcm as follows:
Defined yellow characters for ALT method, and some other characters for all available buttons. The original SYM function still available by ALT+Space.
I attached a picture about the ALT-characters.
Unfortunately the new CTRL-button not works with SKP “Phisical Keyboard” option so I must switch off this option. By this way I lost the language specific fonts, so I programmed the upper rows for this fonts. The selection is working by SHIFT and D-pad, than CAPS-LOCK + C is Copy and CAPS-LOCK + V is Paste.
I attached a picture about CTRL-characters too.
I used character codes at: fileformat.info
We must be use the C/C++/Java source codes.
Thats all.
Zavo
hi.
i wanna change my hardware keyboard of droid4. its qwerty ... and i want to have qwertz.
so i edited the /system/usr/keychars/omap4-keypad.kcm and changeg key "Z" { label base shift } with "Y" . reboot and it works me happy
by thinking myself that i missed Ä Ö Ü at the hardware keyboard and dont want to wait long with long push on a to wait for the popup and choose there ä, i tryed to edit the /system/usr/keylayout/omap4-keypad.kl:
CAPS LOCK button to “ALT”:
KEY 222 ALT_LEFT
and back into the /system/usr/keychars/omap4-keypad.kcm there under A { label: "A" / base : "a" / shift: "A" / cltr,alt,meta: "ä" }
reboot and now it works nothing -.-
also the y z is back to qwerty and not qwertz ?!?!?!??! in the files is all right.
why my changes are undone ????
can some help ? ideas ?
thx and sry 4 bad english
Felix241 said:
hi.
i wanna change my hardware keyboard of droid4. its qwerty ... and i want to have qwertz.
so i edited the /system/usr/keychars/omap4-keypad.kcm and changeg key "Z" { label base shift } with "Y" . reboot and it works me happy
by thinking myself that i missed Ä Ö Ü at the hardware keyboard and dont want to wait long with long push on a to wait for the popup and choose there ä, i tryed to edit the /system/usr/keylayout/omap4-keypad.kl:
CAPS LOCK button to “ALT”:
KEY 222 ALT_LEFT
and back into the /system/usr/keychars/omap4-keypad.kcm there under A { label: "A" / base : "a" / shift: "A" / cltr,alt,meta: "ä" }
reboot and now it works nothing -.-
also the y z is back to qwerty and not qwertz ?!?!?!??! in the files is all right.
why my changes are undone ????
can some help ? ideas ?
thx and sry 4 bad english
Click to expand...
Click to collapse
the fault is that in the .kcm no ÄÜÖ alowed.
when i entered A {
label: "A"
base: "a"
shift: "ä"
}
reboot
the system dont work with the .kcm anymore... what do i have to fill in under shift : "" for an ä ?
thx 4 help
Felix241 said:
the fault is that in the .kcm no ÄÜÖ alowed.
when i entered A {
label: "A"
base: "a"
shift: "ä"
}
reboot
the system dont work with the .kcm anymore... what do i have to fill in under shift : "" for an ä ?
thx 4 help
Click to expand...
Click to collapse
I think that for ÄÜÖ, in the stock kcm you press ALT+u and then the key that you want to have ' ': a,u,o......
Hi everyone
I know it's an old post but it really helped me solve the non CTRL problem.
I needed it to switch between languages on the hard keyboard as I installed the CM11 ROM. It's a little bit funny that it takes a CTRL button to switch, but no one bothered to notice that there isn't such button.
Anyhow, my current problem is this - I'm missing a letter on the Hebrew keyboard. I have all the letters except one. It's annoying to type with a missing letter.
I've tried to look for a way to add this letter on the ompam4-keypad.kcm file, but it doesn't contain the hebrew characters.
I really don't know where to go for that char map that contains other characters other than english.
Can anyone help me?
drornohi said:
I know it's an old post but it really helped me solve the non CTRL problem.
I needed it to switch between languages on the hard keyboard as I installed the CM11 ROM. It's a little bit funny that it takes a CTRL button to switch, but no one bothered to notice that there isn't such button.
Anyhow, my current problem is this - I'm missing a letter on the Hebrew keyboard. I have all the letters except one. It's annoying to type with a missing letter.
I've tried to look for a way to add this letter on the ompam4-keypad.kcm file, but it doesn't contain the hebrew characters.
I really don't know where to go for that char map that contains other characters other than english.
Can anyone help me?
Click to expand...
Click to collapse
Frankly I never updated it for CM11 and CM12 I've been using for over a year now, even though it always bugged me not to have Ctrl Good wake-up call I'll try to get to it through the weekend, no promises though.
@ZavoDroid's post (#10, last of previous page) looks golden, will try to make something similar working with CM11 and CM12. Will need you to report how the CM11 version works, I'm still at CM12 currently.
Edit: @drornohi - did you try custom layouts from this thread to see they did not work with CM11? And what is the specific character you miss from your Hebrew keyboard - could you post it here in lower case and upper case, ideally with Unicode codes as well?
LuH said:
Frankly I never updated it for CM11 and CM12 I've been using for over a year now, even though it always bugged me not to have Ctrl Good wake-up call I'll try to get to it through the weekend, no promises though.
@ZavoDroid's post (#10, last of previous page) looks golden, will try to make something similar working with CM11 and CM12. Will need you to report how the CM11 version works, I'm still at CM12 currently.
Edit: @drornohi - did you try custom layouts from this thread to see they did not work with CM11? And what is the specific character you miss from your Hebrew keyboard - could you post it here in lower case and upper case, ideally with Unicode codes as well?
Click to expand...
Click to collapse
Sadly, it's not a layout problem.
I think that the keyboard doesn't take the characters from the .kcm file. The keyboard linked to another app that mapping the layout to a character map according to the current chosen language. i.e, when you press 'm', it links it to the app that checks which language is chosen, if english - it will type 'm', if hebrew it will type ׳צ׳ (a hebrew letter)
The problem is I don't know where is this app. I've been trying to look it up in the CyanogenMod11 source code but I'm not a developer so I didn't manage to load the project to eclipse.
Actually I have 2 missing letters.
The first one is ׳ף׳ unicode U+05E3 (source: http://unicode-table.com/en/05E3/)
The second one is 'ץ' unicode U+05E5 (source: http://unicode-table.com/en/05E5/)
If you want I have the full hebrew charmap with unicodes: http://unicode-table.com/en/blocks/hebrew/
Thanks for trying! Hope you'll save us all!
drornohi said:
Sadly, it's not a layout problem.
I think that the keyboard doesn't take the characters from the .kcm file. The keyboard linked to another app that mapping the layout to a character map according to the current chosen language. i.e, when you press 'm', it links it to the app that checks which language is chosen, if english - it will type 'm', if hebrew it will type ׳צ׳ (a hebrew letter)
The problem is I don't know where is this app. I've been trying to look it up in the CyanogenMod11 source code but I'm not a developer so I didn't manage to load the project to eclipse.
Actually I have 2 missing letters.
The first one is ׳ף׳ unicode U+05E3 (source: http://unicode-table.com/en/05E3/)
The second one is 'ץ' unicode U+05E5 (source: http://unicode-table.com/en/05E5/)
If you want I have the full hebrew charmap with unicodes: http://unicode-table.com/en/blocks/hebrew/
Thanks for trying! Hope you'll save us all!
Click to expand...
Click to collapse
Hey, I'm also no dev and never opened the CM11 project - wouldn't know where to start
By inspecting the CM11 build briefly I think I found where it loads language-specific layouts: cm-11-20150327-UNOFFICIAL-maserati.zip\system\priv-app\InputDevices.apk\res\raw\*.kcm - but there is 05E5 mapped to PERIOD ( . : ), are you sure you can't type it by period? Also regular period should be mapped to SLASH ( / ? ) according to keyboard_layout_hebrew.kcm.
I tried to set 05e3 as Alt+L. Try replacing your /system/priv-app/InputDevices.apk by attached file and use it in combination with some keylayout with Alt (ZavoDroid's maybe). Do a backup before - it's my first attempt on repacking a system apk so anything can go wrong
Edit: just realized I forgot to attach the APK. -_- Sorry, will do in several hours - it's almost 6 AM now so I need to catch some sleep, left laptop elsewhere.
...so here you are with the attachment
drornohi said:
Sadly, it's not a layout problem.
I think that the keyboard doesn't take the characters from the .kcm file. The keyboard linked to another app that mapping the layout to a character map according to the current chosen language. i.e, when you press 'm', it links it to the app that checks which language is chosen, if english - it will type 'm', if hebrew it will type ׳צ׳ (a hebrew letter)
The problem is I don't know where is this app. I've been trying to look it up in the CyanogenMod11 source code but I'm not a developer so I didn't manage to load the project to eclipse.
Click to expand...
Click to collapse
I think what happens here is that as long as you have Settings - Languages & input - Physical keyboard - omap4-keypad set to default layout, /system/usr/keychars/omap4-keypad.kcm is used, but once you add any languages there, it uses language's kcm from /system/priv-app/InputDevices.apk for CM11, or /system/priv-app/InputDevices/InputDevices.apk for CM12.
Please let me know if the attached apk works (try signed first) installed or put into system directly - you should be able to type ף by pressing Alt+L (SYM+L with Zavo's custom kl - also attached).
LuH said:
Hey, I'm also no dev and never opened the CM11 project - wouldn't know where to start
By inspecting the CM11 build briefly I think I found where it loads language-specific layouts: cm-11-20150327-UNOFFICIAL-maserati.zip\system\priv-app\InputDevices.apk\res\raw\*.kcm - but there is 05E5 mapped to PERIOD ( . : ), are you sure you can't type it by period? Also regular period should be mapped to SLASH ( / ? ) according to keyboard_layout_hebrew.kcm.
I tried to set 05e3 as Alt+L. Try replacing your /system/priv-app/InputDevices.apk by attached file and use it in combination with some keylayout with Alt (ZavoDroid's maybe). Do a backup before - it's my first attempt on repacking a system apk so anything can go wrong
Edit: just realized I forgot to attach the APK. -_- Sorry, will do in several hours - it's almost 6 AM now so I need to catch some sleep, left laptop elsewhere.
Click to expand...
Click to collapse
Actually your'e right. I forgot I have already found ׳ץ׳ letter (It's my GF's phone so It's not near me all the time). The other one is still missing though.
Thanks for finding the apk file. I'll try edit it myself and let you know (I'm trying with notepad because I read that you can't open apk with eclipse)
I want to make the 'Q' letter assigned to ׳ף׳ because now it assigned to '/' but I already have that.
---------- Post added at 02:41 PM ---------- Previous post was at 02:36 PM ----------
LuH said:
...so here you are with the attachment
I think what happens here is that as long as you have Settings - Languages & input - Physical keyboard - omap4-keypad set to default layout, /system/usr/keychars/omap4-keypad.kcm is used, but once you add any languages there, it uses language's kcm from /system/priv-app/InputDevices.apk for CM11, or /system/priv-app/InputDevices/InputDevices.apk for CM12.
Please let me know if the attached apk works (try signed first) installed or put into system directly - you should be able to type ף by pressing Alt+L (SYM+L with Zavo's custom kl - also attached).
Click to expand...
Click to collapse
I'll try it when I'll have the phone with me (it's my GF's)
How did you pack the apk again after unpacking it?
I want to change it to the 'Q' letter instead of Alt+L
I have some ideas to to improve the keyboard functioning with some keys.
drornohi said:
How did you pack the apk again after unpacking it?
I want to change it to the 'Q' letter instead of Alt+L
I have some ideas to to improve the keyboard functioning with some keys.
Click to expand...
Click to collapse
Searched xda for instructions, in some general android development forum on xda found a rom & apk kitchen (intended for different device though, apk kitchen is universal) and used the apk kitchen for proper unpack and repack. I think it's needed, because InputDevices.apk is signed so the kcm's crc would not match if I just overwrote it in the apk directly.

[Q] request samsung note 3or4 keyboard for nuxus 6

Hi guys
Can I find this request please ?
I love ❤ samsung keyboard but I don't know how I get it ?
azoojeddah said:
Hi guys
Can I find this request please
I love samsung keyboard but I don't know how I get it
Click to expand...
Click to collapse
download any note 3 or note 4 rom, extract the keyboard.apk and try installng. probably need to put it in system/priv-app and set permissions to rw-r-r. also probably needs TW framework so either certain functions will FC or it won't work at all.
joshm.1219 said:
download any note 3 or note 4 rom, extract the keyboard.apk and try installng. probably need to put it in system/priv-app and set permissions to rw-r-r. also probably needs TW framework so either certain functions will FC or it won't work at all.
Click to expand...
Click to collapse
I'll try ?
Thanks
joshm.1219 said:
download any note 3 or note 4 rom, extract the keyboard.apk and try installng. probably need to put it in system/priv-app and set permissions to rw-r-r. also probably needs TW framework so either certain functions will FC or it won't work at all.
Click to expand...
Click to collapse
Yeah, it will force close without touchwiz.
Personally, I love the Google keyboard and you can get a similar setup as the note series. In settings --> language and input, you can go under Google keyboard. Select 'appearance and layouts', then 'custom input style'. You can add a new layout with the '+' button at the top right. Select 'US' as your language and 'PC' as your layout.
Save, go back to 'appearance and layout' and select 'languages'. Turn off the default and select your layout with US and PC.
Now you'll get a keyboard layout similar to the note series based off the PC keyboard layout. I think it uses the screen real estate better than the default layout and while it's not a perfect duplicate of the note series, I've personally come to prefer this setup.
Just a suggestion instead of beating your head against touch wiz, which I did plenty of myself when I first switched to AOSP!
Sent from my Nexus 6 using XDA Free mobile app
jaxxes said:
Yeah, it will force close without touchwiz.
Personally, I love the Google keyboard and you can get a similar setup as the note series. In settings --> language and input, you can go under Google keyboard. Select 'appearance and layouts', then 'custom input style'. You can add a new layout with the '+' button at the top right. Select 'US' as your language and 'PC' as your layout.
Save, go back to 'appearance and layout' and select 'languages'. Turn off the default and select your layout with US and PC.
Now you'll get a keyboard layout similar to the note series based off the PC keyboard layout. I think it uses the screen real estate better than the default layout and while it's not a perfect duplicate of the note series, I've personally come to prefer this setup.
Just a suggestion instead of beating your head against touch wiz, which I did plenty of myself when I first switched to AOSP!
Sent from my Nexus 6 using XDA Free mobile app
Click to expand...
Click to collapse
Yeah PC is pretty cool, I prefer to just use one of Shaftamale's themed Google keyboards thats add a number row to the regular keyboard.
OP, if there's specific features of the Samsung keyboard that you're looking for, we might be able to tell you about a third party alternative that offers those features. Lots of great keyboard options on the Play Store these days.
Try swiftkey, it works great plus you can add # key row and arrow keys plus a lot of really cool settings
Not gonna happen. Try thumb keyboard.

Categories

Resources