Implementation of Mobile Lightweight TV Media System Based on Android

The mobile lightweight TV media system is composed of a TV source, a video capture station, a mobile lightweight streaming media server and a mobile phone terminal [5]. Its block diagram is shown in Fig 3 Mobile lightweight TV media system based on mobile terminal makes use of the many technologies. Here I illustrate the application of the technology and how to realize the mobile terminal mobile lightweight TV media system mainly from two aspects of the client and server side.

A. The implementation of client The client is mainly about Html5, CSS3, JavaScript and other technologies to develop, through the Phone-Gap development platform. In this paper, video information can be said to be one of the main needs of users in the mobile lightweight TV media system based on Android. Compared to Html, Html5 has added some interaction, for example the multimedia, the localization tag memory application program interface API and other new labels and characteristic. In HTML5 canvas element tags, the new video tags and audio tags can be respectively deal with the video and audio elements, allowing developers to get rid of unnecessary plug­ins, and only embedded page, write address resources can be called [6].

CSS3 can well manage and modify the layout, font, background, color and other elements of the page. JavaScript is a direct scripting language, is a dynamic type, weak type, based on the prototype of the language, built-in support type.

We use Phone-Gap package web language to write the client program, in order to adapt to the installation of the terminal package. The development environment of Phone-Gap must be set up before the formal development of Android. Java is the official development language of Android platform. In the process of installing Eclipse software and Android-SDK, we should select the Android version. To build open environment of Phone-Gap, we need to open the eclipse, and then final entry of the basic information about the project according to the following steps (new->project->Android-> Android – > Android Application Project->next… finish). In order to ensure that a large number of applications have a legitimate Android, ID system requires that each application must be signed in order to install. So, here you have to install APK installation.

B. The implementation of sever Android system is jointly developed by the company of Google and open to mobile phone alliance, which is an open source mobile phone operating system based on Linux platform. Android system is mainly made up of 5 layer compositions, which are applications, application framework layer and libraries, Android runtime, Linux kernel. Most of the procedures on Android platform are based on the Java language. It can be said that the Java language is the official language of the Android platform. Eclipse is one of the 732 commonly used Java development tools at present.Code Shoppy Eclipse provides a lot of Android plug-in, which get Eclipse highly efficient. APP development in this paper is based on Eclipse. When establish the Java operating environment, we can choose to download the JDK file from the website http://java.sun.comljavase/downloads/index.j sp site.

And then, we must build Phone-Gap development environment. Phone-Gap is a rapid development platform to create cross platform mobile App, the main use of HTML5, CSS3, JavaScript and other languages to complete the compilation. First of all, open the eclipse, and then click on “Next” button until the end. Create a folder in the “assets” file directory. Open the Phone-Gap installation package, the cordova.js of the Android under the “Lib” directory will be copied to file directory under this file directory. Last, copy the XML folder in the Phone-Gap installation package to the res folder under the creation project. When Phone-Gap development environment is completed, we can choose to operate A VD virtual equipment as we hope or connect real Android mobile machine running on the real machine. This is very convenient for users to see the effect of running the program at any time in the development process. Database is an important part of a system platform. The database is used to process a large amount of data information, and the database has a lot of fast algorithms to improve the storage and reading of information. In addition, the amount of video data is huge. So it is necessary to use the database to manage these video and text information. Mobile lightweight TV media system using database management of MySQL to manage user rights, system resources, and the front and rear of the interactive platform.

Server side administrator interface is written by Java, PHP, HTML5, CSS3, JavaScript language. We should use of Web Apache server development, because it is based on the PC side. PHP is an open source scripting language running on the server side. As a flexible and easy to use relational database management system, MySQL not only uses the standard language SQL, but also provides a variety of language API in the web application. Firstly, install and configure the server environment XAMPP. Open XAMPP integration package, and then we can choose “admin” button of MySQL to enter the PHP and MySQL management interface, and finally manage the MySQL database according to the design of the model.

This paper is based on the App of the Center of Radio and Television in Fengtai Beijing. https://codeshoppy.com/ And this App mainly broadcasts the video information, and design the concise user page and 733 convenient background management system. The App development costs low, and it is easy to install for users and easy to maintain for administrators. It can meet the mobile lightweight TV media system dissemination of the movable end of the shift [7]. It meets convergence of new media and traditional media in Internet plus big data era now.

Open chat