mod .kl to swith language

Discussion about DroidMote Server for Android
ipune
Posts: 1
Joined: Thu May 02, 2013 9:53 am

mod .kl to swith language

Post by ipune »

I put the 1 star on review. now I removed that review. sorry about that :cry:
I have some question. In Thai language It use and Grave(`) key to switch keyboard layout between Thai <-> Eng.
I found some soft keyboard app use Grave. I try to install that on server and client but it don't work.

Is it possible to mod .kl to support Grave key? how can i mod?

http://developer.android.com/reference/ ... CODE_GRAVE
It constant Value: 68
User avatar
zulu99
Site Admin
Posts: 2485
Joined: Tue Oct 09, 2012 6:42 am

Re: mod .kl to swith language

Post by zulu99 »

The kl and kcm files are only in the server side.

in droidmote.kcm you can use also unicode characters

with droidmote.kl and droidmote.kcm you can do all that you want. Also add not latin characters.

read this, this is android standard:

http://source.android.com/tech/input/ke ... files.html

http://source.android.com/tech/input/ke ... files.html

and this, to find your character and put it in unicode form in the droidmote.kcm ('\uXXXX': Type the Unicode character whose code point is given in hex by XXXX.)

http://unicode-table.com/en/

look the russian language as example, when you switch language to russian the default android.kcm is changed. get this as example to follow

also if you customize, the name of the two files must be the same droidmote.kl and droidmote.kcm

attention. this two files not admit duplicate and error, if there is an error inside, android use the generic.kl and generic.kcm

after edit this two files add the right permissions with a file manager. you can add also 777 permissions.
Developer of DroidMote Server and DroidMote Client. Read the Quick Start Guides and then I'll be happy to help.
Donate with Paypal or Donate with Crypto