Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi i wanna crate custom keyboard in android.
i wanna use this code
http://code.tutsplus.com/tutorials/create-a-custom-keyboard-on-android--cms-22615[^]

but now i wanna make Arabic keyboard but i have problem with that because Arabic ASCII code is two part and the XML doesn't support that
i use this site to convert: http://www.asciitohex.com/[^]

for example 'ش' code is '216 180' but i can't use that in this XML:


XML
<Row>
		<Key android:codes= "216 180" android:keyLabel="ش" android:keyEdgeFlags="left"/>
		<Key android:codes="115" android:keyLabel="س"/>
		<Key android:codes="100" android:keyLabel="ی"/>
		<Key android:codes="102" android:keyLabel="ک"/>
		<Key android:codes="103" android:keyLabel="ژ"/>
		<Key android:codes="104" android:keyLabel="ن"/>
		<Key android:codes="106" android:keyLabel="ت"/>
		<Key android:codes="107" android:keyLabel="ا"/>
		<Key android:codes="108" android:keyLabel="ل"/>
		<Key android:codes="35,64" android:keyLabel="\# \@" android:keyEdgeFlags="right"/>
	</Row>
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900