基于安卓平台android的音乐播放器设计-毕设论文

东北大学秦皇岛分校 毕业设计 (论文)

第 1 页

毕业设计

基于安卓平台的音乐播放器

院 别 专业名称 班级学号 学生姓名 指导教师

东北大学计算机与通信工程学院

计算机科学与技术

01258968745 郭姝含 燕怀荣

2013年9月10日

东北大学秦皇岛分校毕业设计(论文)

第 I 页

基于安卓平台的音乐播放器设计与开发 摘 要

Android平台是Google公司最新推出的一个手机平台,该平台对移动设备的程序集

中包括一个操作系统,一个中间件和一些关键性应用。使用该平台不需要任何费用,代码完全开放。开发人员可以在平台系统上快速开发,并可以利用其它开发人员的工作成果。所以,这为手机开发创造了更大的灵活性,工作少,周期短,快速成型,并一步到位,同时用户可以最大限度的自定义自己的手机,以丰富自己手机的功能,增加手机在市场上的竞争力。Android平台以Linux系统作为平台的基础,使用Linux内核可以加快软件移植速度。

本文以Android开发平台为基础,首先简要介绍了安卓平台发展历程、以及当前国内外的发展现状。然后详细的介绍了Android开发平台的开发环境。之后对基于Android平台的音乐播发器系统做了一个详细的需求分析。在需求分析结束后详细论述了音乐播放器的详细设计。根据Android开发平台自身的结构特点,把音乐播放器的开发分为两个部分来进行分析和设计,一部分是窗口的设计,主要是定义窗口的属性和关联窗口的处理函数;另一部分是功能的实现,主要是结合Android平台提供的资源和对音乐播放器的功能分析最终实现定义的功能。最后对基于Android开发平台的音乐播放系统进行功能测试与验证。

关键词:Android平台,音乐播放器,基于Android平台的开发与设计

东北大学秦皇岛分校毕业设计(论文)

第 II 页

The Design and Development of Music Player Based on Android platform

Author:XXX Tutor:XXX

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 Linux 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,Music player ,The Design and Development based on

Android platform

东北大学秦皇岛分校毕业设计(论文) 第 III 页

1 绪 论 ................................................................................................................................... 1

1.1 项目背景 ................................................................................................................... 1 1.2 国内外相关研究现状及发展趋势 ........................................................................... 2 1.3 项目研究意义 ........................................................................................................... 3 1.4 本文主要内容 ........................................................................................................... 3 2 安卓平台介绍 ..................................................................................................................... 5

2.1 安卓平台介绍 ........................................................................................................... 5 2.2 安卓结构具体分析 ................................................................................................... 6 2.3 Android系统的四大组件 ......................................................................................... 7 2.4 安卓开发环境搭建 ................................................................................................... 9

2.4.1 Java环境搭建 ................................................................................................. 9 2.4.2 安装Eclipse开发工具 ................................................................................. 10 2.4.3 下载安装SDK .............................................................................................. 10 2.4.4 安装ADT插件 ............................................................................................. 11 2.5 Android Features特性 ............................................................................................ 12 2.6 数据存储方式 ......................................................................................................... 13

2.6.1 SharedPreferences ....................................................................................... 13 2.6.2 File存储方式 .............................................................................................. 13 2.6.3 SQLiteDatabase数据库 .............................................................................. 13 2.7 Android工程程序结构 ......................................................................................... 14 2.8 AndroidManifest.xml文件 ................................................................................... 15 2.9 安卓平台的优势 ..................................................................................................... 17 3 需求分析 ......................................................................................................................... 19

3.1 软件目标 ................................................................................................................. 19 3.2 软件的可行性研究 ................................................................................................. 19

3.2.1 经济上的可行性 ........................................................................................... 19 3.2.2 技术上的可行性 ........................................................................................... 19

联系客服:779662525#qq.com(#替换为@) 苏ICP备20003344号-4