找回密码
 立即注册
the全拼ASCIIcharacters | android开发 2022-11-07 45 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
中文信息的Android气候预报源代码,所用JDK版本:1.4,汉字转化为全拼,依据ASCII码到SpellMap中搜索对应的拼音@paramascii:int字符对应的ASCII@returnString拼音,首先判别ASCII是否gt;0lt;160,假如是回来对应的字符,不然到SpellMap中搜索,假如没有找到拼音,则回来null,假如找到则回来拼音。主要是获取到气候信息后的中文字符管理,回来字符串的全拼,是汉字转化为全拼,其它字符不进行转换。

(Android climate forecast source code for Chinese information, JDK version used: 1.4, Chinese characters are converted into full spelling, and the corresponding pinyin @ paramascii: int characters are searched in SpellMap according to the ASCII code ASCII@returnString Pinyin, first judge whether ASCII is gt; 0lt; 160. If it is the character corresponding to the return, otherwise search SpellMap. If no pinyin is found, the return will be null. If it is found, the return will be pinyin. It mainly refers to the Chinese character management after obtaining the climate information. The full spelling of the returned string is the conversion of Chinese characters into full spelling, and other characters are not converted.)

[下载]12090042866.rar




上一篇:两个Android引用第三方类库的方法例子
下一篇:Android播放器 mediaplayer源码下载实例