基于android的视频播放器的设计与实现方案
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
基于android的视频播放器的设计与实现方案
摘要
现今,随着基于Android操作系统的智能手机的广泛应用,视频播放器已成为智能手机的一个必不可少的程序,广大用户迫切需要一个贴近用户、方便用户、个性化的视频播放器。因此,设计一个基于Android手机的多功能播放器,具有重要的实际意义。
遵循软件工程规范,文中主要介绍了基于android的多功能视频播放器的设计和实现过程,实现了手机中视频文件的过滤读取、存储、播放、收藏等功能。
本次毕业设计主要使用JDK + Eclipse + Android-SDK-Windows工具进行开发,使用的编程语言是Java语言。该程序主要由4个不同Activity来实现,每个Activity实现相应的功能模块,能够有效满足Android手机用户在视频播放中的常见需求。
本论文详细介绍了播放器程序的设计思路、设计方案、系统结构和项目工程结构,对系统的可行性与需求性进行了详细的分析,阐述了系统各个模块功能的设计与实现。对程序主要的Activity都进行了详细的介绍和分析,包括对其使用的布局文件的具体介绍,以及各个控件的作用。在最后进行了程序测试,对每一个实现的模块功能都做了测试,并且记录了大量截图用来展示测试结果,以观察程序应有的功能是否正常运行,以及发现程序中可能存在的问题。所开发的程序界面比较友好,操作相对容易,达到设计要求。
关键词:安卓;视频播放;Activity;Mediaplayer
The Design and Implementation of Video Player Based
on Android
ABSTRACT
Now, with the wide application of smart phone based on the Android operating system, video player has become the essential application of smart phone. Most of consumers urgentl y require a personalized video player which is close to user and facilitate user. Therefore, the design of a multifunctional player based on android mobile phones has an important practical significance.
Following the specification of software engineering , the paper mainly introduces the de sign and implementation process of the multi-functional video player based on android and re alizes the cell phone video files in the filtering read, storage, broadcast, collection.
The project design is developed by using JDK, Eclipse, and Android-SDK-Windows too ls. The programming language is Java. The program consists of four different Activities and e ach Activity achieves the corresponding functional modules which can effectively satisfy the common requirements for playing video on Android mobile phones.
This paper introduced the design ideas, design scheme, system architecture and project e ngineering structures of video player. The feasibility and requirements of system were analyz ed in detail. The system function and each module were explained. The main Activity of the p rogram are described and analyzed in detail including the using layout file, as well as the role of each control. Finally, I made the test for the program including the functions of each impl emented modules. In order to observe whether the program should function properly and find the problems that may exist in the program, many screenshots were saved to demonstrate the test results. The developed program has a friendly interface and can be operated relatively ea sy, which has achieved the design requirement.
Key words: Android; Video Play; Activity; Mediaplayer