Font Size: a A A

The Extension Of The Cross-mobile Platform Media Framework Based On The Android Platform Of PhoneGap

Posted on:2013-05-24Degree:MasterType:Thesis
Country:ChinaCandidate:B H LiFull Text:PDF
GTID:2248330374474832Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Due to the growing consumption of mobile devices, many businesses see an unlimitedbusiness opportunities of the mobile device. The current operating system platform of themobile terminals, show the phenomenon of "a hundred schools of thought contend". But themainstream of mobile platforms don’t compatible with each other, and there is no set ofstandard interfaces to achieve cross-platform’s software development. If you want to developa set of native applications, you must call their own’s native API on each platform. These willlet application developers spend more manpower and resources, while the cost ofmaintenance is skyrocketing.Being directed against the above issues, this paper surveys to analyze the currentdevelopment status of the cross-platform development tool on mobile platform. Then Weselect a cross-platform native application development tools of PhoneGap, which is opensource and supports standard HTML, CSS and Javascript, and a cross-platform front-enddevelopment tools of jQuery Mobile, which is open source and based on jQuery basedlibrary.The multimedia player application is one of the most important mobile platform’s localapplication. Every mobile platform need a photo viewing tool, a music playback tool and avideo playback tool. This paper, based on the analysis of PhoneGap and jQuery Mobile,design and implement the extended framework based on the the cross-platform multimedia ofPhoneGap, which is one of the way to solve the above of the problem.The extension of the cross-mobile platform media framework consists of four modules:the directory module, the photo browsing module, the music player module and the videoplayer module. The directory module is designed as a simple factory model, which providesthe interfaces for the local list for photos, music and video. The image module, based on theHTML’s tag of IMG, implement the operations of photo browsing in Javascript level. Themusic module designes into the mode of multiple instances, and provides a set of handinginterrupt mechanism for the mobile platform features. The video module uses the dual-modeplayer. For the deficiencies of the current mobile platform’s video player, especially thedifficulty of expansion the OpenCore framework of the decoder on Android platform, we transplant the mainstream VLC player to the Andriod platform. The media extend’sframework, based on the the PhoneGap, can use the VLC player to play local and networkstreaming, also the OpenCore framework. We use the Android platform’s Surface andAudioTrack system as the interface for VLC media player audio and video outputmodules.The media framework supports both the music and video network playing, whichcan automaticly identify the type based on the URL.The multimedia player’s framework, designed by this paper, provides developers with astandard Javascript interface. Developers only need to know HTML, CSS and Javascript, andthey can call the local and network interface to develop the the cross-platform mobileplatform of local application, which create cross-platform multimedia applications, truly"Once write, run everywhere."...
Keywords/Search Tags:PhoneGap, jQuery Mobile, Cross-platform, Media extensible framework, Android
PDF Full Text Request
Related items