您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 其它行业文档 > 基于android平台的音乐播放器的课程设计报告
-I-吉首大学JISHOUUNIVERSITY《疯狂Android讲义》课程设计报告书题目音乐播放器作者孙琛赵凡卓朱世康王喜元所属学院软件服务外包学院专业年级移动互联2012级指导老师祝勇军写作时间2014年4月01日-II-吉首大学软件学院教务办制第1章绪论····································································································41.1选题的目的及意义················································································41.2本课题涉及内容的研究现状····································································41.3本系统要实现的基本目标和研究内容·······················································4第3章需求分析······························································································53.1软件目标·····························································································53.2功能需求·····························································································53.3系统界面需求·······················································································53.4系统性能需求·······················································································5第4章系统的总体设计·····················································································54.1设计思想·····························································································64.2系统功能结构图···················································································6第5章数据库的设计························································································95.1数据库表的介绍···················································································95.1.1用户注册表··················································································95.1.2完成下载的音乐表········································································95.1.3播放清单表·················································································95.2数据库连接·························································································9第6章系统详细设计······················································································106.1欢迎界面模块详细设计········································································106.2播放列表模块详细设计·········································································106.3歌曲播放模块详细设计········································································116.4本地音乐模块详细设计········································································126.5会员登录模块详细设计········································································136.6会员注册模块详细设计·················································错误!未定义书签。6.7音乐下载模块详细设计········································································156.8设置皮肤模块详细设计········································································15-III-第7章系统测试····························································································167.1登录功能测试····················································································167.2图片上传功能测试··············································································177.3文件上传功能测试··············································································18结论············································································································18-4-第1章绪论1.1选题的目的及意义现今社会生活紧张,而欣赏音乐是其中最好的舒缓压力的方式之一,本项目的目的是开发一个可以播放主流音乐文件格式的播放器,本设计的实现的这主要功能是播放Mp3,Wav多种格式的音乐文件,并且能够控制播放,暂停,停止,上一曲,下一曲,音量调节,视觉外观,播放列表和歌曲文件的管理操作等多种播放控制功能,界面简明,操作简单。本项目是一款基于Android手机平台的音乐播放器,使Android手机拥有个性的多媒体播放器,使手机显得更生动灵活化,与人们更为接近,让手机主人随时随地处于音乐视频的旋律之中。使人们的生活更加多样化。也使设计者更加熟练Android的技术和其它在市场上的特点1.2本课题涉及内容的研究现状Android一词的本义指“机器人”,同时也是Google于2007年11月5日宣布的基于Linux平台的开源手机操作系统的名称,该平台由操作系统、中间件、用户界面和应用软件组成,号称是首个为移动终端打造的真正开放和完整的移动软件。Android是基于Linux内核的软件平台和操作系统,早期由Google开发(在华注册商标名为“安致”),后由开放手机联盟(OpenHandsetAlliance)开发。它采用了软件堆层(softwarestack,又名以软件叠层)的架构,主要分为三部分。低层以Linux内核工作为基础,只提供基本功能;其他的应用软件则由各公司自行开发,以Java作为编写程序的一部分。另外,为了推广此技术,Google和其它几十个手机公司建立了开放手机联盟。Android在未公开之前常被传闻为Google电话或gPhone。大多传闻认为Google开发的是自己的手机电话产品,而不是一套软件平台。到了2010年1月,Google开始发表自家品牌手机电话的NexusOne。目前最新SDK版本为Android4.0.3。1.3本系统要实现的基本目标和研究内容本文要实现的基本目标和主要研究内容有以下几个方面:(1)音乐的播放,包括上一首、下一首、暂停、进度条的更新和控制。(2)本地音乐的管理,自动扫描SD卡的音乐,在列表显示30秒以上的音频文件。(3)会员特权,包括在线音乐列表、下载列表、背景皮肤的更新。-5-第3章需求分析3.1软件目标本系统属于用户常用的音乐播放器。可以方便用户平时对音乐文件的操作。本系统应达到以下目标:(1)软件采用人机交互的方式,界面美观友好,操作灵活、方便、富有个性化。(2)能够对音乐文件进行有效的管理。(3)系统应最大限度地实现易维护性和易操作性。3.2功能需求功能需求定义了开发人员必须实现的软件功能,使得用户能完成他们的任务,从而满足了用户的业务需求。用户需求文档描述了用户使用产品必须要完成的任务。针对音乐播放器分别对音乐播放、在线音乐播放及会员特权的换肤等功能进行详细的调研和分析,总结出如下的用户需求信息。3.3系统界面需求播放器界面要求布局合理,颜色舒适,控制按钮友好,要求整体有一个主要的元素标准,统一的主题思想。3.4系统性能需求根据Android手机系统要求无响应时间为5秒,所以就有如下性能要求:1)当要求歌曲播放时,程序响应时间最长不能超过5秒2)当要求歌曲暂停时,程序响应时间最长不能超过5秒3)当要求歌曲上/下一首时,程序响应时间最长不能超过5秒第4章系统的总体设计软件功能设计是使整个软件能基本实现音乐的播放、上一首、下一首、暂停等功能,能让用户通过本软件欣赏音乐。在线音乐浏览和下载,背景皮肤的切换等功能更好的增强用户体验。-6-4.1设计思想(1)将系统分成几个相对独立的模块。(2)分层的模块化程序设计思想,整个系统采用模块化结构设计。作为应用程序有较强的可操作性和扩展性。(3)合理的数据流设计,在应用系统设计中,相对独立的模块间以数据流相互连接,使各模块间的耦合性较低,方便系统运行,提高系统安全性。4.2系统功能结构图系统的总体框架图:咪咪音乐本地音乐乐库搜索推荐我的登陆注册我的歌单我的下载我喜欢最近播放播放列表播放暂停音量上一曲下一曲Visio2003_SP3退出程序设置换肤歌词显示播放模式开关单曲循环随机播放顺序播放退出返回上一级退出音乐系统流程图:-7-根据上述需求分析,本Android版音乐播放器可分为一下几个模块:播放器基本功能如图4-1所示:-8-图4-1播放器基本功能图播放清单列表如图4-2所示:图4-2播放器清单列表图从图中看出播放列表功能的参与者依然是用户,这表达了客户体验的要求,当用户选中列表中的一首歌时,会有一个列表选项
本文标题:基于android平台的音乐播放器的课程设计报告
链接地址:https://www.777doc.com/doc-6054190 .html