资源描述:
《Android在线音乐播放器设计与实现-毕业论文》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、Android在线音乐播放器设计与实现摘要:移动互联网发展瞬息万变,以往的随身听、MP3等千篇一律的播放设备已经越来越难以满足人们多样化的听音乐需求了,而市面上的音乐播放器APP却深陷商业的漩涡,盈利和用户体验总是难以成正比,看似琳琅满目的音乐应用却没有几款真正让用户喜欢的。在这样的背景下,课题基于Android开源平台,使用Java语言开发,采用AndroidStudio+Gradle工具构建,并依靠OkHttp+Gson提供网络框架,开发了一款Android在线音乐播放器。播放器支持播放在线音乐,上一曲、下一曲,切换播放模式,支持歌
2、词与专辑封面显示,支持搜索、下载在线歌曲等基本功能,并扩展实现了夜间模式,定时关闭等功能,致力于给用户提供更舒心的听歌体验。论文给出详细的框架设计,系统流程设计,部分设计图及主要功能运行流程图,并对开发中遇到的主要问题进行了详细讨论,如通过Activity和Service通信实现后台播放。经过系统测试,系统实现了基本功能和扩展功能,性能达到了一定的指标。关键词:在线音乐;播放器;定时关闭;Gradle;OkHttpDesignandImplementationofAndroid-basedOnlineMusicPlayerAbstrac
3、t:ThedevelopmentofmobileInternetisconstantlychanging,thepreviousWalkman,MP3playerandotherdeviceshavebeenstereotypedincreasinglydifficulttomeetpeople'sdemandforavarietyofmusic,andthemusicplayermarket,APPhasdeepwhirlpoolbusiness,earningsandproportionaltotheuserexperienceis
4、alwaysdifficult,seeminglydazzlingmusicapplicationdidnotallowseveraluserstoreallylikeit.Inthiscontext,anobjectbasedontheAndroidopensourceplatformdevelopedusingtheJavalanguage,usingAndroidStudio+Gradlebuildtool,andrelyOkHttp+Gsonprovidenetworkframework,developedanAndroidon
5、linemusicplayer.Playersupportsplaybackofonlinemusic,thesong,thenextsong,switchtheplaybackmode,supportforlyricsandalbumartdisplay,supportssearching,downloadingsongsonlineandotherbasicfunctions,andexpandedtoachieveanightmode,timeoffandotherfunctions,iscommittedtotoprovidea
6、moreenjoyableexperienceoflisteningtomusic.Papergivesadetailedframeworkdesign,systemdesignprocess,partofthedesignandoperationofthemainfunctionofaflowchart,andthedevelopmentofthemainproblemsencounteredwerediscussedindetail,forexample,byActivityandServiceCommunicationbetwee
7、nPlayinbackground.Aftertestingthesystem,thesystemtoachievethebasicfunctionsandextensions,reachacertainperformancetargets.Keywords:onlinemusic,player,timeoff,gradle,okhttp目录第1章绪论11.1背景11.2国内外现状11.3目标及范围21.4核心技术3第2章Android音乐播放器需求分析52.1功能性需求分析52.1.1本地音乐52.1.2在线音乐62.1.3在线搜索8
8、2.1.4播放控制92.1.5扩展功能122.2非功能性需求分析142.2.1软件性能指标142.2.2软件兼容性14第3章Android音乐播放器系统概要设计153.1主要设计内容153.2设计思想153