Font Size: a A A

Research And Implementation Of The Hybrid Programing Model Of Mobile Applications

Posted on:2016-07-12Degree:MasterType:Thesis
Country:ChinaCandidate:Y Z WangFull Text:PDF
GTID:2308330473455030Subject:Computer technology
Abstract/Summary:PDF Full Text Request
Now in the age of mobile Internet and mobile applications has been widely used. There are 3 ways to develop mobile applications: native applications, web applications and hybrid applications. Hybrid applications integrate native applications and web applications. Although there are many development frameworks for hybrid applications, most of them just using the web view framework provided by the mobile device as the display interface of applications. In some cases, only using this way is difficult to meet the requirement of efficiency. In view of this situation, this thesis presents a development framework for hybrid mobile application that can support both the web components and the local components.This thesis firstly studies the web front-end technology, the structure and the working principle of browser rendering engine, the implementation of the WebView in Android system, the implementation of the current mobile application development frameworks. Based on this, this thesis studies and puts forward the whole structure of the framework for hybrid mobile application. Then this thesis designs the working process and function modules of this framework, and finally realized this framework on the Android platform. The main features of the framework are as follow:(1) This framework supports both web components and local components. Hybrid applications include web part of the program and the local part of the program. These two parts are performed by the web component and local component.(2) This framework provides the life cycle management for web applications running on web components. The states of the web application is governed by the hybrid application and application developers, Including loading, start, continue, running, pause, stop, and uninstall.(3) The framework supports sending messages between JS layer and local layer. The message communication module completes check, encapsulation and parsing messages and provides a variety of ways to convey them.(4) The framework provides mobile local features for web applicaitiosn. The plugin module realizes the local function and provides the interfaces for web applications.(5) The framework supports interaction between components. Web components and native components are not independent. When meet the access control conditions of the framework, components can call each other’s method by using Communicator module.(6) The framework supports dynamic replacement of web applications. The network load module loads resources from the Internet and load application asynchronously.By using this development framework, application developers use different components to implement different parts of applications.
Keywords/Search Tags:hybrid applications, web applications, native applications, mobile applications, Android
PDF Full Text Request
Related items