郑州大学毕业设计(论文)
题 目: 基于Android平台的音乐播放器
指导教师: 李妍 职称: 讲师
学生: 陈小雨 :20107790205
专 业: 计算机科学与技术(软件开发)
院(系): 软件
完成时间: 2014年05月05日
2014年05月05日
目 录
摘 要 1
ABSTRACT.......................................................................................................................2
前 言 3
1 Android平台及开发工具介绍 4
1.1 Android平台简介 4
1.1.1 Android平台架构 4
1.1.2Android的四大组件 6
1.2 Android的开发环境 8
1.2.1 Eclipse 8
1.2.2 Android SDK 8
1.3 本章小结 9
2 需求分析 10
2.1 播放器的设计目标 10
2.2 软件的可行性研究 10
2.2.1 经济上的可行性 10
2.2.2技术上的可行性 11
2.2.3操作上的可行性 11
2.3 播放器的功能需求分析 11
2.3.1播放器的基本功能 11
2.3.2歌曲列表的功能 14
2.3.3菜单的设置功能 16
2.4 本章小结 18
3 总体设计 19
3.1设计原则 19
3.1.1总体设计路线 19
3.1.2 系统功能结构图 20
3.1.3系统流程图 21
3.2 主要功能设计 21
3.2.1歌曲列表模块 21
3.2.2 音乐播放模块 22
3.2.3 专辑列表模块 23
3.2.4 菜单设置模块 24
3.3系统的安全设计...................................................................................24
3.4 本章小结 25
4 详细设计与实现 26
4.1 欢迎界面 26
4.2 歌曲播放界面 27
4.2.1 播放音轨SeekBar 28
4.2.2 播放调节功能 28
4.3 歌词显示界面 29
4.4 列表显示界面 30
4.5 菜单设置 31
4.6 本章总结 33
5 音乐播放器的测试 34
5.1 测试模型 35
5.1.1 V模型 35
5.1.2 W模型 35
5.2 测试模型的选择 37
5.3 测试方法 37
5.3.1 白盒测试 37
5.3.2 黑盒测试 38
5.3.3 测试方法的选择 38
5.4 功能的测试与实现 38
4.2.1 播放器整体功能的实现 39
4.2.2 播放器主要模块功能测试 40
5.5 测试结论 40
5.6 测试过程与总结 40
5.7 本章小结 41
结 论 42
致 谢 43
参考文献 44
摘 要
Android平台是Google公司最新推出的一个手机平台,该平台对移动设备的程序集中包括一个操作系统,一个中间件和一些关键性应用。使用该平台不需要任何费用,代码完全开放。开发人员可以在平台系统上快速开发,并可以利用其它开发人员的工作成果。所以,这为手机开发创造了更大的灵活性,工作少,周期短,快速成型,并一步到位,同时用户可以最大限度的自定义自己的手机,以丰富自己手机的功能,增加手机在市场上的竞争力。
本文以Android开发平台为基础,首先简要介绍了安卓平台发展历程、以及当前国内外的发展现状。然后详细的介绍了Android开发平台的开发环境。之后对基于Android平台的音乐播发器系统做了一个详细的需求分析。在需求分析结束后详细论述了音乐播放器的详细设计。根据Android开发平台自身的结构特点,把音乐播放器的开发分为两个部分来进行分析和设计,一部分是窗口的设计,主要是定义窗口的属性和关联窗口的处理函数;另一部分是功能的实现,主要是结合Android平台提供的资源和对音乐播放器的功能分析最终实现定义的功能。最后对基于Android开发平台的音乐播放系统进行功能测试与验证。
关键词:Android平台,Java,音乐播放器
ABSTRACT
Android platform is Google’S latest launch of a mobile platform,the platform for procedures of mobile devices,includes an operating systems,a middle ware and some critical applications.The platform does not require any charges.The code is completely open.Developers can quickly develop on the platform system and other developers can use the results of the work by other developers.Therefore,It made greater flexibility for the development of mobile phone,less work,short cycle,rapid prototyping and one-stop,meanwhile users can customize their mobile phones best to enrich the functions of their cell phones,competitiveness of mobile phones market.Android platform is based on Linux systems using the Window kernel.The software call speed up the rate of transplantation.
This article takes the Android developing platform as a foundation.First it briefly introduces android platform development,as well as the current domestic and foreign development present situation.After the discussion of the rationale above,this article introduces the development environment of Android developing platform in detail and makes a detailed demand analysis to Music player based on the Android developing platform.Then this article gives a detailed software design of Music player.Based on the Android developing platform’s feature.I divide the Music player’s development into two parts to analyze and design.One part is the window design,mainly defines the window attribute and the connected window processing function;Another part is function realization,mainly unifies the resources which the Android platform provides and function analysis to the Music player to accomplish the function which we defined.Finally it carries on the function test based on the Music player of Android platform.
’Key Words:Android platform, Java,Music player
前 言
随着手机市场的迅速发展,拥有智能手机已经不再是奢侈昂贵的象征。在智能手机的争夺战中,Android不得不说是减低智能手机价格的一大功臣。Android系统是谷歌公司开发的免费开源的移动终端操作系统适合于手机和平板电脑。开始动摇苹果手机走高端客户大局势。也动摇在手机市场在长久以来在分割局势。在Android系统飞速发展的今天,Android以操作简单、免费、不受开发商限制等优点,Android手机无疑越来越受到人们和开发商的喜爱,各种音频视频资源也在网上广为流传,这些资源看似平常,但已经渐渐成为人们生活中必不可少的一部分了。于是各种手机播放器也紧跟着发展起来。
手机的音乐播放功能已经是大家比较关注的一个部分了,不少人在购买手机的时候都会关心手机的音乐播放的能力,这也足以看出目前大家对音乐播放功能的重视,所以一款性能良好的手机音乐播放器软件一定会受到欢迎。Android平台是完全开放的平台,智能手机里的各种应用软件也越来越完备,在Android平台设计和开发一款音乐播放器可以摆脱不够智能音乐播放器的因素,并且具有很广阔的前景。但是很多播放器一味追求外观花哨,功能庞大,对用户的手机造成了很多资源浪费,而对于大多数普通用户,许多功能用不上,形同虚设。
一款专业的音乐播放软件是手机中必不可
上一篇:
Android_平台手机文件监控系统的设计与开发论文
下一篇:
试论APP广告在手机中的应用