开发者

how to take particular character from tamil font in android

I am using Tamil font (Bamini) in my application. I can able to use Tamil font in my application like

    TextView text=(TextVie开发者_运维问答w)findViewById(R.id.text); // initialize to your textview
    Typeface tf = Typeface.createFromAsset(this.getAssets(),"Bamini.ttf");
    text.setTypeface(tf);
    text.setText("m");

my problem is i need exact character without typing. Let me explain in detail. I have to display Tamil character when application loaded and when i click next button another character should display. I am displaying character in text view. since in Tamil font its not in order i cant able to get character in order like A,AA,E,EE. I have to set text for textview dynamically when next button is clicked.

Please help me..Thanks in advance..


You can make Array of characters using this table Tamil Keyboard Translate Table, and then use your logic to convert to Tamil, then load one by one charecter from the Array onClick listner of the button

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜