简体   繁体   中英

How to create a custom keyboard in android with tamil fonts?

For my project i need to create a keyboard with tamil fonts.I got some information in google like keycodes. but not clear

Sample output: output: "பே"

for the above letter i need to press two keys("ப"and"ே"), so how can i detect which keys are pressed and how can i replace it.

Thanks in advance,

Your can start building custom keyboard according this tutorial

And replace eg.

<key android:codes="57" android:keyLabel="9"/>

with

<Key android:keyOutputText="பே"  android:keyLabel="பே"/>

Or try to find correct keycode for you output

I tried it with android:keyOutputText and works for me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM