| In recent years,users have been consuming more and more data traffic(mobile operator network traffic)on mobile smart devices(phones,tablets,smart watches,etc.),with the total volume roughl y doubling each year.Therefore,the service of the after-data traffic to the operator will become the competitive focus of future mobile internet companies.Unfortunately,each of the current mainstream mobile platforms such as Android,IOS,and Windows are incompatible with each other,resulting in duplication of development efforts and a waste of human resources,resulting in even higher development costs for mobile applications.Cross-platform mobile framework PhoneGap can help to solve the above-mentioned mobile cross-platform issues.PhoneGap is an open source,free,mobile cross-platform application framework,which is based on HTML,CSS and JavaScript and other programming languages.It can support Android,iOS,Windows Phone and other mobile operating s ystem.PhoneGap framework provides a set of API for developers to call in the JavaScript code,which allows users to access through Web technology mobile device native applications,API,and application libraries.Using this framework,developers only need to write code in one location and then deploy the applications to each of the different operating systems.In this paper,we focus on the aft er-data traffic by studying the cross-platform coding PhoneGap framework,comparing it with the traditional web application development model.It is designed and implemented with a traffic exchange based application PhoneGap framework.With this applicatio n,businesses can apply the traffic pattern to attract mobile internet end user participation,thus improving user stickiness;at the same time,it is able to use the high viscosity of users to attract advertiser participation,allowing them to take advantage of the traffic exchange application and launch targeted advertising campaigns.This application is divided into two parts: a front-end application and back-end customer interaction traffic exchange business logic processing.Front-end applications can be shielded by the PhoneGap framework since it encapsulates the different mobile operating system native interfaces to allow for development of application that can be run in a multi-platform environment.Traffic Exchange back-end application processing allows users to attract even more users to participate,which can provide new ideas to flow from operating.This application dramatically reduces the cost of development and maintenance,thus creating opportunities for businesses to quickly create layouts for each mobile internet platform.It has a certain academic and commercial value. |