如何定义数组特殊字符执行的Java应用程序? [英] how to define special characters in array implementing java Application?

查看:135
本文介绍了如何定义数组特殊字符执行的Java应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 我实现的输入法相关的应用程序在Android的本
应用程序我使用特殊字符和符号

Array.xml

 &其中;项目>一种'&所述; /项目>

 一个不读书剩下的所有的数字和字母阅读如何
可以实现特殊符号的阅读场景,请转发一些
建议在此先感谢纳拉辛哈
 

解决方案

在XML替换该 字符

一些其他的XML字符

  1。 &放大器; - &放大器;放大器;
2.< - &功放; LT;
3.> - &功放; GT;
4. - 与放大器; QUOT;
5. - 与放大器;#39;
6. { - &安培;#123;
7.}  - 安培;#125;
8. @  - &安培;#64;

例如:一个code = A和#39; code
 

看这链接了解字符...

EDIT1 2013年3月12号

上面的链接似乎现在打破。这里有一些其他的链接

链接1 链路2 链接3 LINK4 希望这会有所帮助。

 I am implementing input method related application in android in this
application i am using special characters and symbols 

Array.xml

 <item>a'</item>

 a' is not reading remaining all numeric and alphabets are reading  how
can implement special symbols reading scenario please forward some
suggestion  Thanks In Advance Narasimha

解决方案

in xml replace this ' character '

Some other xml characters

1. & - &amp; 
2. < - &lt;
3. > - &gt;
4. " - &quot;
5. ' - &#39;
6. { - &#123;
7. } - &#125;
8. @ - &#64;

ex:   a' Code  =   a&#39; Code

see this link for more characters...

EDIT1 03-12-2013

Above links seems broken now. Here are some other links

Link1 Link2 Link3 Link4 Hope this will help.

这篇关于如何定义数组特殊字符执行的Java应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆