Font Size: a A A

The Design And Implementation Of Mobile Application Toolkit Based On Hybrid APP

Posted on:2016-05-16Degree:MasterType:Thesis
Country:ChinaCandidate:Y Y YangFull Text:PDF
GTID:2348330488473880Subject:Engineering
Abstract/Summary:PDF Full Text Request
With the development of mobile Internet technology, people spend lot s of time and energy in the use of mobile device, in the face of such a broad market, developers need to quickly develop mobile applications based on real needs of users to access to more user groups.But developers are confused with incompatible between mainstream mobile operating systems, and the basic functions of each mobile application need to be developed repeatedly. In this context, the emergence of Hybrid App development mode brings new solutions to the developer.This development mode combines with the advantages of native development mode and the Web development mode, which can ensure a good user experience and the advantages of cross-platform development.In this paper, we pull out of the basic functions of mobile application, choosing the current mainstream Cordova framework to develop those functions in the form of Cordova plugins, composed of a set of mobile application plugins toolkit. Developers can use this mobile application toolkit for a secondary develop, which can effectively reduce the development cycle and cost, impro ving the development efficiency.This paper mainly includes the following aspects.This paper has a deep study of the current mainstream mobile application development mode,by analyzing and comparing the advantages and disadvantages,puts forward the mobile application development mode,which based on Hybrid App. We choose the cross-platform framework Cordova to design a set of mobile application toolkit.The toolkit is composed of many basic function plugins, and can be extened by developes for a secondary develop.It Implements push,todo,share and barcode plugins.According to the Cordova development mechanism, focusing on the design of those four plugins' native interface and Javascript interface.The push plugin is based on GCM mechanism, contains of register to notification service,receive notification service and cancel notification service.Todo plugin contains add affairs,delete affairs, modify affairs and query affairs,it can help users deal with affairs for effective management.Share plugin can help user share information via SMS, email,and social app.Barcode plugin contains encode the target information,scan barcode image,and share the barcode image.The testing of the four plugins is based on creating a Cordova mobile application.Fisrtly, we create a Cordova project,then add required mobile platform and the four plugins to project,using HTML, CSS, and Javascript to design the user interface layer,and invoke the plugin for functional testing respectively.The test results show that the development of mobile application too lkit based on Cordvoa framework has reached the expected requirments development,and the subfunction of each plugin works well,which conforms the availability of this mobile application toolkit.When developing new mobile applications, developers can directly use this too lkit plugin for secondary development,which reduce development time and the manpower cost, truly "write once, run everywhere!".
Keywords/Search Tags:Mobile application, cross-platform, Hybrid App, Cordova
PDF Full Text Request
Related items