新浪微博客户端的设计与实现学院计算机学院专业计算机科学与技术(嵌入式系统方向)班级04010105学号2010040101170姓名高志伟指导教师曹一鹏负责教师沈阳航空航天大学2014年6月沈阳航空航天大学毕业设计(论文)I摘要作为市场占有率第一的新浪微博客户端拥有着广泛的需求。目前一些新浪微博客户端相对比较完善,功能也比较齐全,但基于市场利益考虑,有着不同程度涉及广告的行为,而且界面设计的相对传统,引起很多用户不满。因此,本课题就致力于开发出一款基于Android平台的满足用户使用需求的新浪微博客户端。为了实现新浪微博客户端,需要申请开发者账号,并且下载新浪微博AndroidSDK。新浪微博AndroidSDK为第三方微博应用提供了微博API调用服务,使第三方微博客户端无需了解复杂的验证和API调用过程,就可以实现分享文字或者多媒体信息到新浪微博。本文阐述了新浪微博客户端的各种相关知识,同时将设计过程中所用到的主要方法及控件进行了详细说明。本应用实现了发表微博、评论微博、转发微博、我的资料、我的关注、我的粉丝、收藏评论等功能,具有较强的实用性;将服务接入微博平台,有助于推广产品,增加应用的流量、拓展新用户,甚至获得收益。关键词:Android平台;新浪微博AndroidSDK;微博API调用服务沈阳航空航天大学毕业设计(论文)IISinaMicrobloggingClientDesignandImplementationAbstractAsthemarketshareofthefirstSinamicrobloggingclienthasawiderangeofneeds.Atpresent,someSinamicrobloggingclientbaseisrelativelysound,functionrelativelycomplete,butbasedonmarketinterest,withvaryingdegreesofbehaviorinvolvedinadvertising,andtheinterfaceisrelativelyconventionaldesign,attractedalotofuserdissatisfaction.Thus,thesubjectiscommittedtodevelopaplatformbasedonAndroidtomeetuserneedsSinamicrobloggingclient.ToachieveSinamicrobloggingclient,applicationdevelopersneedtoaccount,anddownloadWeiboAndroidSDK.SinaWeiboAndroidSDKthird-partyapplicationstoprovideAPIcallsmicrobloggingservice,enablingthird-partyTwitterclientsdonotneedtounderstandthecomplexprocessofverificationandAPIcalls,youcanachievesharedtextormultimediamessagetoSinamicroblogging.ThispaperdescribesavarietyofrelatedknowledgeSinamicrobloggingclient,whilethemajormethodsandcontrolsusedinthedesignprocessisdescribedindetail.Thisapplicationimplementspublishedmicrobloggingcommentmicroblogging,microbloggingforwardedmyinformation,myattention,myfans,collectorscommentsandotherfeatures,hasastrongpracticality.Themicrobloggingserviceaccessplatform,helpstopromotetheirproducts,increasetrafficapplications,developnewusers,andevengain.Keywords:Android;SinaWeiboAndroidSDK;MicrobloggingAPIservicescalls;沈阳航空航天大学毕业设计(论文)III目录1绪论...................................................................................................................................11.1课题背景.....................................................................................................................11.2微博发展简介.............................................................................................................11.3Android简介................................................................................................................31.4OAuth2.0概述.............................................................................................................41.5开发平台介绍.............................................................................................................41.6开发工具eclipse简介................................................................................................41.7开发语言和开发环境.................................................................................................51.8课题目标、内容、意义.............................................................................................51.9论文结构.....................................................................................................................52系统分析...........................................................................................................................72.1可行性分析.................................................................................................................72.1.1市场的可行性......................................................................................................72.1.2经济的可行性......................................................................................................72.1.3技术的可行性......................................................................................................72.1.4运行的可行性......................................................................................................72.2需求分析.....................................................................................................................82.2.1对功能的规定......................................................................................................82.2.2对性能的规定....................................................................................................102.2.3对可维护性的规定............................................................................................102.2.4对个性的规定....................................................................................................102.3系统规划概述...........................................................................................................103系统设计.........................................................................................................................123.1系统总体框架...........................................................................................................123.2功能模块设计...........................................................................................................134详细设计与编码.............................................................................................................144.1授权功能模块......