Android课程设计---基于Android系统的音乐播放器设计与实现 联系客服

发布时间 : 星期日 文章Android课程设计---基于Android系统的音乐播放器设计与实现更新完毕开始阅读910a048177a20029bd64783e0912a21614797f8f

7、自我评价与总结

(1) 通过对Android手机平台的音乐播放器软件的开发,使我对Android音乐播放器系统的整体设计有一个深入的了解,对整个流程也会有一个清晰的认识。开发Android音乐播放器,要抓住开发的核心部分,音乐播放器大体由播放主界面、播放列表、菜单、播放设置、文件浏览、歌曲搜索六大核心组成,只要掌握了这六部分的开发,音乐播放器就能初具规模。而其它的功能都是在这六个功能的基础上去补充添加的,但是这是功能的确是必不可少的功能,否则就不能算是音乐播放器了。

(2) 音乐播放器系统实现了播放器的基本功能:播放,暂停、停止、上/下一首、音量调节、歌词显示、播放模式、歌曲搜索、文件浏览器、播放列表查询等功能。运用的系统平台是现今最热门的Android系统,是一个开源的基于Linux系统的手机平台。是以Java语言编写+SQLite数据库支持+SharePreference配置文件的组合方式进行数据管理。实现了音乐播放器的系统编程。

(3) 本次程序设计,对播放器的系统结构框架做了精心的构思与设计,采用主要开发工具是Eclipse3.5+Java语言的支持,Android Development Tool的插件,和Android SDK2.1版本的全面结合,才使整个音乐播放器系统得以实现。

(4) 总之,经过几个月的Android系统技术知识的学习和对音乐播放器的构思与设计,使我对Android系统有了一定的了解,让我对Android系统上的开发流程和开发模式有了深入的了解,这对我以后的Android项目开发有很大的帮助。

在此论文抒写过程中,我还要感谢我的软件工程的老师给我的支持和建议。让我能顺利的完成本次论文。

8、附录:程序清单,注意加注释(包括关键字、方法、变量等),在每个模块前加注释;

主界面MainActivity布局文件代码:

android:orientation=\ android:layout_width=\ android:layout_height=\ android:padding=\ >

android:id=\ android:layout_width=\ android:layout_height=\ />

android:id=\@android:id/tabcontent\ android:layout_width=\ android:layout_height=\ android:padding=\ />

服务器列表界面Mp3PlayerListActivity布局文件代码:

android:id=\ android:layout_width=\ android:layout_height=\ android:orientation=\ >

android:id=\ android:layout_width=\ android:layout_height=\ android:drawSelectorOnTop=\ android:scrollbars=\ />

本地歌曲列表界面LocalActivity布局文件代码:

android:layout_height=\ android:orientation=\ >

android:id=\ android:layout_width=\ android:layout_height=\ android:orientation=\ >

android:id=\ android:layout_width=\ android:layout_height=\ android:drawSelectorOnTop=\ android:scrollbars=\ />

播放界面PlayerActivity布局文件代码:

android:id=\

android:layout_width=\ android:layout_height=\ android:layout_x=\ android:layout_y=\

android:src=\ />

android:id=\

android:layout_width=\ android:layout_height=\ android:layout_x=\ android:layout_y=\

android:src=\ />

android:id=\

android:layout_width=\ android:layout_height=\ android:layout_x=\ android:layout_y=\ android:gravity=\

android:textColor=\ android:textSize=\ />

android:id=\

android:layout_width=\ android:layout_height=\ android:layout_x=\ android:layout_y=\ android:src=\ />

9、参考文献

[1] 张孝祥著. java就业培训教程[M].北京:清华大学出版社,2007.

[2] 余志龙编著.Google Android SDK开发范例大全[M].北京:人民邮电出版社,2009-7-1. [3] E2ECloud工作室著.深入浅出Google Android[M].北京:人民邮电出版社,2009-08-1. [4] 靳岩 姚尚朗著.Google Android开发入门与实战[M].北京:清华大学出版社,2009-07-01. [5] 高昂著.支持动态语言的Android平台[M].北京:人民邮电出版社,2009-05-07.[6] eoe.Android开发社区.http://www.eoeandroid.com/. 2010-04-10. [7] JavaEye论坛.http://www.javaeye.com/forums. 2010-04-15.

[8] Android API文档.http://androidappdocs.appspot.com/index.html. 2010-04-10.

[9] 高焕堂编.Android 应用框架原理与程式设计(第三版)[M].北京:清华大学出版社,2008-10-03

[10] 杨丰盛主编.Android 应用开发揭秘[M].西安:机械工业出版社,2010-01-25

[11] XML解析方式DOM、SAX之比较.http://wghjay.javaeye.com/blog/519955.2009-11-18.