摘要:在现今快节奏的社会生活氛围下,音乐是人们放慢步调休闲娱乐的一种方式。Android系统面世至今已经成为了全球移动操作系统市场份额占有率最高的系统。基于移动平台的音乐播放器更易于大家随时随地享受音乐。本文开发了一款基于Android技术的在线音乐播放器,运用Java语言和Android Studio编辑工具来进行音乐播放器的代码编写。该音乐播放器实现了播放、暂停、上一首、下一首、显示歌词、查看歌曲信息、在线搜索、列表管理和个性化设置等功能。经测试,该音乐播放器界面美观,性能良好,并且各项功能都可以良好运行。30684 毕业论文关键词:Android;OkHttp;音乐播放器
An Online Music Player Software Based on Android
Abstract: In the society, people are very busy and the pace of our life is getting faster and faster, and music is a way for people to get rest and enjoy life. Since it’s released, Android system has occupied the highest market share in global mobile operating system. When the music player is based on a mobile platform, it is easier for everyone to enjoy music anytime, anywhere. The work of this paper is to realize an online music player based Android. It uses Java and Android Studio to code the project. The music player can realize many functions, including playing a song, pause, playing the last one, playing the next one, showing the lyrics, checking the song information, searching songs online, managing lists of songs and personalized settings and so on. After testing, the music player have a beautiful interface and have a good performance. Each function can run very well.
Keywords: Android; OkHttp; Music Player
目录
摘要 1
关键词 1
Abstract 1
Keywords 1
引言 1
1 选题背景 1
1.1 问题的提出 1
1.2 国内外研究现状 1
1.3 研究目的 2
2 相关开发技术及开发工具 2
2.1 Android简介 2
2.2 MediaPlayer类介绍 3
2.3 Android开发环境的搭建 3
3 “律动音乐”播放器的需求分析 3
3.1 功能需求 3
3.1.1 功能需求描述 3
3.1.2 用况分析 4
3.2 非功能需求 10
4 律动音乐播放器的总体设计 10
4.1 律动音乐的功能设计 10
4.1.1 律动音乐的功能结构 10
4.1.2 “律动音乐”的功能流程 11
4.2 数据库设计 11
5 律动音乐播放器的详细设计与实现 12
5.1 界面设计实现 12
5.1.1 主界面 13
5.1.2 歌单详情页 13
5.1.3 歌曲播放页 14
5.2 列表管理设计实现 14
5.2.1 “本地音乐”设计及实现 14
5.2.2 “创建歌单”设计及实现 15
5.2.3 “下载管理”设计及实现 15
5.3 在线功能设计及实现 16
5.4 播放控制功能的设计及实现 18