[android开发] Android中文天气预报应用代码

[复制链接]
发表于 2022-11-7 12:09:01
中文信息的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源码下载实例

使用道具 举报

Archiver|手机版|小黑屋|吾爱开源 |网站地图

Copyright 2011 - 2012 Lnqq.NET.All Rights Reserved( ICP备案粤ICP备14042591号-1粤ICP14042591号 )

关于本站 - 版权申明 - 侵删联系 - Ln Studio! - 广告联系

本站资源来自互联网,仅供用户测试使用,相关版权归原作者所有

快速回复 返回顶部 返回列表