Android平台天气预报widget的
设计与实现
诚信声明
我声明,所呈交的
毕业论文是本人在老师指导下进行的研究
工作及取得的研究成果。据我查证,除了文中特别加以标注和致谢的地方外,论文中不包含其他人已经发表或撰写过的研究成果,也不包含为获得其他教育机构的学位或证书而使用过的材料。我承诺,论文中的所有内容均真实、可信。
毕业论文作者签名:
签名日期:
年
月
日
Android平台天气预报widget
Android平台天气预报widget
摘要本文对基于Android平台的widget开发技术进行了分析和研究。先简要介绍了Android开发必备基础知识,再切入
软件的具体实现过程。软件的实现是利用
网络接口和GoogleAPI获取网络
xml文件,然后通过xml文件解析取得城市天气预报信息。最终使用widget制作方法,利用RemoteViews等技术完成桌面部件。关键词:关键词:Android;桌面小部件;天气预报
Android平台天气预报widget
thedesignandimplementationofweatherforecastingwidgetonAndroidplatform
ABSTRACT
ThispaperanalysesandresearchesthedevelopmenttechniqueontheAndroidplatform.ItfirstintroducethebasicknowledgethatisnecessaryforAndroiddevelopment.Andthenitintroducetheconcreteimplementationofthesoftware.ThesoftwareusesnetworkinterfaceandGoogleAPItogetxmldocument.Thenitparsethedocumenttogettheweatherinformationofthecity.FinallyIusetechniquesuchasRemotViewstoimplementthewidget.
Key
words:Android;widget;weatherforecast:
Android平台天气预报widget
目
录
第1章绪论............................................................................................................................................11.1项目背景.......................................................................................................................................11.2研究现状.......................................................................................................................................11.3论文组织.......................................................................................................................................2第2章ANDROID开发环境................................................................................................................32.1ANDROID开发环境搭建流程........................................................................................................32.1.1安装EclipseADTPlugin插件.............................................................................................32.1.2安装AndroidSDK................................................................................................................42.1.3更新AdroidSDK..................................................................................................................52.1.4配置Android模拟器............................................................................................................62.2开发工具ECLIPSE介绍................................................................................................................7第3章ANDROID
程序设计基础....................................................