花了两天晚上的时间, 一边看文档一边写,期间遇到一些问题,但是都还没费多少力气解决了。这个是一个字典应用,其实就是把dict.cn搬到手机上了。 时间有限,做得比较粗糙。还有一些问题, 比如 音标中的特殊字符还有乱码, 因为数据都是网上抓的。所以有一些格式的问题。附件中是应用的打包文件,本人没有ghone,所以也就测不了了。下面是应用的截图。
[b][color=red]更新:通过[url]http://api.dict.cn/ws.php?utf8=true&q=word[/url]抓取数据, 解决数据格式的问题。 增加朗读的功能。[/color]
[/b]
[b][color=red]更新:把源码也上传到附件中。现在就只剩下音标的问题了。发现音标问题是因为andriod不支持“[lʌv]”这样的字符。用模拟器自带的浏览器也有一样的问题。[/color] [/b]
1. Splash page。
[img]http://dengyin2000.iteye.com/upload/picture/pic/52014/fdb8223c-01e2-3ea1-a631-d1e628bd466e.png[/img]
2. 单词查询页面。(在输入框中按回车可以直接查询)
[img]http://dengyin2000.iteye.com/upload/picture/pic/52016/215ee70d-c52e-35a2-8181-106f595e18bf.png[/img]
[img]http://dengyin2000.iteye.com/upload/picture/pic/52020/f90f26c4-61d8-3149-8544-3c04a27fb1cf.png[/img]
[img]http://dengyin2000.iteye.com/upload/picture/pic/52018/95fa33be-a242-3d26-be80-459c799d7134.png[/img]
3. 点击单词进入详细页面
[img]http://dengyin2000.iteye.com/upload/picture/pic/52022/1c62a63a-296e-345f-946b-8d0d6e4bea27.png[/img]
[img]http://dengyin2000.iteye.com/upload/picture/pic/52190/246d8865-d3d4-32b5-9abd-71aa72dab497.png[/img]
应用基于android 2.0.1。
参考:
listview的使用:[url]http://www.softwarepassion.com/android-series-custom-listview-items-and-adapters/[/url]
splash:[url]http://www.anddev.org/simple_splash_screen_-_alternative-t815.html[/url]
[b][color=red]更新:通过[url]http://api.dict.cn/ws.php?utf8=true&q=word[/url]抓取数据, 解决数据格式的问题。 增加朗读的功能。[/color]
[/b]
[b][color=red]更新:把源码也上传到附件中。现在就只剩下音标的问题了。发现音标问题是因为andriod不支持“[lʌv]”这样的字符。用模拟器自带的浏览器也有一样的问题。[/color] [/b]
1. Splash page。
[img]http://dengyin2000.iteye.com/upload/picture/pic/52014/fdb8223c-01e2-3ea1-a631-d1e628bd466e.png[/img]
2. 单词查询页面。(在输入框中按回车可以直接查询)
[img]http://dengyin2000.iteye.com/upload/picture/pic/52016/215ee70d-c52e-35a2-8181-106f595e18bf.png[/img]
[img]http://dengyin2000.iteye.com/upload/picture/pic/52020/f90f26c4-61d8-3149-8544-3c04a27fb1cf.png[/img]
[img]http://dengyin2000.iteye.com/upload/picture/pic/52018/95fa33be-a242-3d26-be80-459c799d7134.png[/img]
3. 点击单词进入详细页面
[img]http://dengyin2000.iteye.com/upload/picture/pic/52022/1c62a63a-296e-345f-946b-8d0d6e4bea27.png[/img]
[img]http://dengyin2000.iteye.com/upload/picture/pic/52190/246d8865-d3d4-32b5-9abd-71aa72dab497.png[/img]
应用基于android 2.0.1。
参考:
listview的使用:[url]http://www.softwarepassion.com/android-series-custom-listview-items-and-adapters/[/url]
splash:[url]http://www.anddev.org/simple_splash_screen_-_alternative-t815.html[/url]