[APP] Russian/German/etc for dock keyboard (Updated 2012-03-11)

ivan.volosyuk

Senior Member
Dec 12, 2010
127
42
0
I haven't found any keyboards for ICS Asus Transformer which allow to switch input language on the dock keyboard, so I hacked standard ICS keyboard to allow russian and english layout to be used on the dock keyboard. Here is the apk, enjoy.

What works:
* All standard features, like soft keyboard and voice input should work correctly.
* Switch between russian and english using Ctrl-Space, or Ctrl+Shift (I can potentially change it to any other key combination)
* Russian and German and a few others layouts on dock keyboard :)
* NO ROOT required, the keyboard can be installed in addition to standard keyboard.

TODO:
* load kcm files
* add layouts for some other languages if anyone is interested
* pick up a sane name for the keyboard modification
* caps lock is ignored in russian mode
* Ctrl-Space and Ctrl-Shift changes layout, but doesn't update the selected keyboard subtype in list of keyboards.

Changelog:
2012-03-12 - azerty for french, fixed ENTER key to work correctly with search widget.
2012-03-11 - Restored back qwertz for German layout
2012-03-10 - Using TF101 Original KCMs provided by @bouod. German kcm layout uses qwerty instead of qwertz. Is it fine?
2012-03-09 - Added alt-<key> combinations to german layout.
2012-03-06 - added experimental German support (to enable - enable German language in keyboard settings)
 

Attachments

Last edited:

ivan.volosyuk

Senior Member
Dec 12, 2010
127
42
0
there's an app called "Russian Keyboard", it works almost perfect. Just set it to "external qwerty"/
I've just tried the "Russian Keyboard":
* it works
* soft keyboard is pretty crappy (I like ICS keyboard much more, I should probably add a layout switch key to it, which is the one thing I dislike about it)
* Location of 'ё' key is unknown.

My version:
* standard ICS keyboard
* slight changes to switch dock key layouts
 
Last edited:

bouod

Senior Member
Feb 17, 2005
78
5
0
sounds good to me

i have been trying for 2 days to get asus keyboard working on Eos and got it but not in the dock part :(

I would love to write "Arabic" in my doc
appreciate your help :)

thanks
 

lw_temp

Member
May 6, 2010
44
3
0
Qazan
Ivan, btw, you're my тезка=), can you change language switching method to ctrl-shift or fn-shift? It would be awesome.

For rukeyboard you can assign ё key, but you have to disassemble its apk.
 

ivan.volosyuk

Senior Member
Dec 12, 2010
127
42
0
sounds good to me

i have been trying for 2 days to get asus keyboard working on Eos and got it but not in the dock part :(

I would love to write "Arabic" in my doc
appreciate your help :)

thanks
I have taken a look at the arabic keyboard on wikipedia and tried to type arabic on android. It looks much more complicated and I'm not sure I fully understand how it supposed to work. I can give you my modifications if you want to try yourself.
 
  • Like
Reactions: bouod

RaymanFX

Inactive Recognized Developer
Jan 8, 2011
1,122
16,501
0
25
Hannover
Nice modification mate !

Could you please share the source of your decompiled apk ?
Or even better, a full eclipse project would be nice !
BTW, with what thingy of editor are you reverse engeneering the keyboard apk ?
 

bouod

Senior Member
Feb 17, 2005
78
5
0
I have taken a look at the arabic keyboard on wikipedia and tried to type arabic on android. It looks much more complicated and I'm not sure I fully understand how it supposed to work. I can give you my modifications if you want to try yourself.
thank you for looking, indeed it's harder than some others;)

I can try with your modifications if it's OK :)

Edit: maybe asus keylayout-keychars could help you doing any lang!
 
Last edited:

lw_temp

Member
May 6, 2010
44
3
0
Qazan
have you done any other modification in your system other than this .apk? It seems doesn't work for me. ctrl+shiift or ctrl+space doesn't change anything.
i just installed it as a normal .apk. Should i push it to /system/apps?
 
Last edited:

dtm_stretch

Senior Member
Dec 22, 2010
477
163
0
Albany
have you done any other modification in your system other than this .apk? It seems doesn't work for me. ctrl+shiift or ctrl+space doesn't change anything.
i just installed it as a normal .apk. Should i push it to /system/apps?
You have to go to settings, languages and input, then select android keyboard+ then the ctrl+shift will work.
 
  • Like
Reactions: lw_temp

RaymanFX

Inactive Recognized Developer
Jan 8, 2011
1,122
16,501
0
25
Hannover
Guys, please tell me how you decompiled it or at least share your sources with me as JDGui keeps fc'ing so I don't know antoher way to do it myself.. ...
 

ivan.volosyuk

Senior Member
Dec 12, 2010
127
42
0
I could do that if he would give the source to me.

Or if he does by himself :p .

I could provide the translated layout files.
I can make this work for German and Russian. You will just need to enable one of them in keyboard layouts. You just need to give me the keyboard map without and with shift for entire keyboard, like this:
Without shift:
`1234567890-=
qwertyuiop[]\
asdfghjkl;'
zxcvbnm,./

With shift:
[email protected]#$%^&*()_+
QWERTYUIOP{}|
ASDFGHJKL:"
ZXCVBNM<>?

What characters do you use in german?
It looks like de keyboard layout uses key combinations to produce characters like: ¹²ẑâáź...
Do you need them?

I haven't decompiled the keyboard apk, I instead compiled it from source with my modifications, using source.android.com

Sources are attached on the top post.
 
Last edited:

ivan.volosyuk

Senior Member
Dec 12, 2010
127
42
0
Is it the right german layout?

Without shift:
^1234567890ẞ´
qwertzuiopü+#
asdfghjklöä
yxcvbnm,.-

With shift:
°!"§$%&/()=?`
QWERTZUIOPÜ*'
ASDFGHJKLÖÄ
YXCVBNM;:_

I can easily add it to the keyboard...
 

ivan.volosyuk

Senior Member
Dec 12, 2010
127
42
0
Seems right :) would be awesome!

Gesendet von meinem Galaxy Nexus mit Tapatalk
I added the german layout. To use it you should enable German in the Input Languages menu. Try switch to "German (Android Keyboard+)".
Ctrl-Shift, Ctrl-Space should toggle between English/German/Russian(if enabled in input languages).
 
  • Like
Reactions: Rey-619