安卓java自实现mp3播放器,基于安卓Android的MP3播放器的设计与实现

基于安卓Android的MP3播放器的设计与实现(含开题报告,毕业论文14000字,程序代码)

[摘  要]    本课题致力于开发出一款基于Android手机平台的MP3音乐播放器应用,采用Android的应用层技术,基于Android 2.1平台,实现MP3基本的音乐播放的功能,满足用户的基本使用需求。额外功能包括歌词的同步显示及文件的过滤等。本课题只专注于应用层的实现,对播放器的解码问题并不多做深究,也不牵涉Android的底层架构。但努力使用最新的设计技术,努力实现基于MVC思想的架构,专注于业务逻辑的实现。因而在MP3音乐播放器的性能方面表现较为优异。在专注于性能的同时,也充分考虑到软件的易用性,特意设计了专门的控制面板界面,竭力做到精简并且美观大方,同时使得用户操作自由并舒适。

[关键词]    Android;MP3;播放器

Design and Implementation of Based on the Android MP3 Player

Abstract:    The subject is committed to the development of a Android based mobile phone platform MP3 music player, using the Android application layer technology, based on Android 2.1 platform, to realize the MP3 music player basic function, and to meet the basic needs of the user. Additional features include simultaneous display of the lyricsand the filtering of files. This project only focused on the implementation of the application layer, the decoding of the player does not do more to get to the bottom,does not involve the underlying architecture of Android. However, efforts to use the latest design technology, and strive to achieve based on the MVC framework, focusing on the business logic. So the music player MP3 performance is excellent. In focus on performance, but also give due consideration to the software usability. I give full consideration to the software's ease of use, specially designed a specialcontrol panel interface, trying to achieve streamlined and elegant, while allowing the user operating free and comfortable.

Key words:    Android;MP3;player

系统基本功能需求

系统的基本功能需求分析是一个项目中需求分析最重要的部分。本MP3播放器注重与其音乐播放的本质特性,因而对以系统的基本需求显得更为重要。

本MP3播放器的系统系统的基本功能需求主要分为系统基本需求分析和系统功能需求分析。

2.1.1  系统基本需求分析

本MP3音乐播放器主要实现MP3音乐的播放、歌词的同步显示和音乐播放器简单的控制功能。

分析系统用例,主要有“播放”、“暂停”、“上一首”、“下一首”、“音量调节”、“播放进度控制”、“播放列表”、“音量控制”、“歌词同步”等。

其中“播放”、“暂停”、“上一首”、“下一首”和“播放列表”为MP3音乐播放模块用例。“音量调节”、“播放进度控制”为播放器控制模块用例。“歌词同步”为歌词的同步显示模块用例。各个用例相互作用,各个模块相互协作构成了整个系统。

系统性能需求

根据Android手机系统要求无响应时间为5秒,所以就有如下性能要求:

(1)当要求歌曲播放时,程序响应时间最长不能超过5秒

(2)当要求歌曲暂停时,程序响应时间最长不能超过5秒

(3)当要求歌曲停止时,程序响应时间最长不能超过5秒

(4)当要求歌曲上/下一首时,程序响应时间最长不能超过5秒

(5)当要求进行清单列表时,程序响应时间最长不能超过5秒

运行环境需求

操作系统:Android手机基于LINUX操作系统

支持环境:Android 2.1以上

开发环境:Eclipse + ADT 10+ Windows XP

861205e49e5cf0908a13451cfbf46749.png

360da4f7e88a14cd0e65a100e7a5e605.png

7194e6501936ae33b754f4cb1b63d814.png

5e33d235afe916f3e8855661e72b58ac.png

b472d0c5e6cea12bdbc0490ab9f8f875.png

a54497904a5918014b45c77011787204.png

3e1868946c0c098270d3b735d846582f.png

目    录

1 背景与意义    1

1.1 项目背景    1

1.2 项目意义    2

2 系统分析    2

2.1 系统基本功能需求    2

2.1.1 系统基本需求分析    2

2.1.2 系统功能需求分析    5

2.2 系统界面需求    6

2.3 系统性能需求    6

2.4 运行环境需求    7

3 系统设计    7

3.1 系统结构设计    7

3.2 系统流程设计    8

4 编码与实现    9

4.1 Android MP3音乐播放器项目所需技术    9

4.2 Android MP3音乐播放器工程程序结构    10

4.3 音乐播放器主界面功能实现    12

4.3.1 播放器主界面的实现    12

4.3.2 播放界面音量控制和播放进度控制的实现    13

4.3.3 播放器播放、暂停等功能的实现    15

4.4 播放列表功能的实现    17

4.5 歌词同步功能的实现    18

4.5.1 歌词同步界面的实现    18

4.5.2 歌词同步功能的实现    19

4.6 菜单功能的实现    19

4.6.1 菜单界面的实现    19

4.6.2 菜单功能实现    20

4.7 播放设置界面的实现    21

4.8 数据存储方式    22

5 系统测试与运行    23

5.1 系统测试    23

5.1.1 界面测试    23

5.1.2 功能测试    23

5.2 系统运行    25

6 总结与展望    27

结束语    29

参考文献    30

附录    31

致谢    32

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值