Android 平台天气预报 widget 的设计与实现摘 要本文对基于 Android 平台的 widget 开发技术进行了分析和讨论
先简要介绍了 Android 开发必备基础知识,再切入软件的具体实现过程
软件的实现是利用网络接口和 Google API 猎取网络 xml 文件,然后通过 xml 文件解析取得城市天气预报信息
最终使用 widget制作方法,利用 RemoteViews 等技术完成桌面部件
关键词: Android;桌面小部件;天气预报the design and implementation of weather forecasting widget on Android platformABSTRACTThis paper analyses and researches the development technique on the Android platform
It first introduce the basic knowledge that is necessary for Android development
And then it introduce the concrete implementation of the software
The software uses network interface and Google API to get xml document
Then it parse the document to get the weather information of the city
Finally I use technique such as RemotViews to implement the widget
Keywords: Android; widget; weather forecas