CN107273120A - A kind of method and system of fast construction mobile phone mobile applications - Google Patents
A kind of method and system of fast construction mobile phone mobile applications Download PDFInfo
- Publication number
- CN107273120A CN107273120A CN201710404874.7A CN201710404874A CN107273120A CN 107273120 A CN107273120 A CN 107273120A CN 201710404874 A CN201710404874 A CN 201710404874A CN 107273120 A CN107273120 A CN 107273120A
- Authority
- CN
- China
- Prior art keywords
- mobile phone
- javascript
- module
- html
- android
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/36—Software reuse
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/76—Adapting program code to run in a different environment; Porting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The present invention relates to a kind of method and system of fast construction mobile phone mobile applications, belong to application program of mobile phone and build technical field.The system of the fast construction mobile phone mobile applications includes primary framework, Code Edit module, previewing module and code packetization module;The method of the fast construction mobile phone mobile applications comprises the following steps:1)Build primary framework;2)Build Code Edit module:Build a set of online editing JavaScript, html and css plateform system;3)JavaScript, html and css are developed in the plateform system;4)Preview:View result after the replacement process of JavaScript, html, css in Android and apple, replacement;5)Code is packed:Primary code by JavaScript, html, css after replacement respectively with Android and both language developments of apple APP combines, and generates macaronic application program.Present invention reduces development cost, development efficiency is improved, exploitation threshold is greatly reduced, is a kind of selection well for some middle-size and small-size APP applications.
Description
Technical field
Technical field is built the invention belongs to application program of mobile phone, and in particular to a kind of fast construction mobile phone Mobile solution journey
The method and system of sequence.
Background technology
Now widely used application program of mobile phone, mainly Android and apple two systems, for application program of mobile phone
(Below referred to as:APP)For development teams, macaronic otherness is as bad dream.Particularly with small-sized exploitation group
For team, traditional primary development scheme is difficult to realize the demand that APP iteratively faster and low cost are safeguarded.With a APP not
Obtain and do not set up the completion development of Liang Ge team, either time cost or personnel cost can all increased.For individual
For developer, two kinds of platform othernesses cause the learning cost that APP is developed to improve.Traditional B/S framework Developmental Engineer is difficult
The exploitation skill of two kinds of platforms is grasped in a short time.
The content of the invention
In order to solve the above technical problems, the present invention provides a kind of method of fast construction mobile phone mobile applications and is
System, the method and system of fast construction mobile phone mobile applications of the present invention reduces development cost, improves development efficiency.
Technical scheme is as follows:
A kind of system of fast construction mobile phone mobile applications, the system includes primary framework, Code Edit module, preview
Module and code packetization module.
Further, the system of described fast construction mobile phone mobile applications,
The primary framework:Calling for Android and apple both language developments APP bottoms is put up in the form of interface, makes original
Raw method can be directly invoked by JavaScript;
The Code Edit module:For online editing JavaScript, html, css module, the module is integrated with primary frame
Structure provides calling for method;
The previewing module:For the module for JavaScript, html, css code for testing editor;
The code packetization module:For will edit JavaScript, html, css code building completed for file and preserve
Module.
Further, the system of described fast construction mobile phone mobile applications, the primary framework:With the shape of interface
Formula puts up calling for Android and apple both language developments APP bottoms, enables primary method straight by JavaScript
Connect and call, concrete implementation mode Android is webview, apple is then UIWebview.
Further, the system of described fast construction mobile phone mobile applications, the Android and apple both languages
Say calling including mobile phone basic function module for exploitation APP bottoms.
Further, the system of described fast construction mobile phone mobile applications, the mobile phone basic function module bag
Camera, address list are included, makes a phone call, send short messages, bluetooth connection, preserving file etc..
Invention additionally discloses a kind of method of fast construction mobile phone mobile applications, comprise the following steps:
1)Build primary framework:Android and calling for apple both language developments APP bottoms are put up in the form of interface,
Primary method is set to be directly invoked by JavaScript;
2)Build Code Edit module:Build a set of online editing JavaScript, html and css plateform system;
3)JavaScript, html and css are developed in the plateform system;
4)Preview:View result after the replacement process of JavaScript, html, css in Android and apple, replacement;
5)Code is packed:By JavaScript, html, css after replacement respectively with Android and both language developments of apple APP
Primary code combine, generate macaronic application program.
Further, the method for described fast construction mobile phone mobile applications, described to build primary framework:Android
Put up with calling for apple both language developments APP bottoms in the form of interface, enable primary method by
JavaScript is directly invoked, and concrete implementation mode Android is webview, and apple is then UIWebview.
Further, the method for described fast construction mobile phone mobile applications, the online editing JavaScript,
Html and css plateform system is cruel fourth APP.
The cruel fourth APP is present in the form of website, and network address is http://app.kudingapp.com.
Further, the method for described fast construction mobile phone mobile applications, the Android and apple both languages
Say calling including mobile phone basic function module for exploitation APP bottoms.
Further, the method for described fast construction mobile phone mobile applications, the mobile phone basic function module bag
Camera, address list are included, makes a phone call, send short messages, bluetooth connection, preserving file etc..
A kind of method and system of fast construction mobile phone mobile applications of the present invention, is used as a kind of new mixed developing mould
Formula, reduces development cost, improves development efficiency, the threshold of exploitation is greatly reduced with system in this way, for one
A little middle-size and small-size APP applications are a kind of selections well.
Brief description of the drawings
Fig. 1 is the structural representation of the system of fast construction mobile phone mobile applications of the present invention;
Fig. 2 is the schematic flow sheet of the method for fast construction mobile phone mobile applications of the present invention;
Fig. 3 is the structural representation of the system of the fast construction mobile phone mobile applications of the embodiment of the present invention 1;
Fig. 4 is the schematic flow sheet of the method for the fast construction mobile phone mobile applications of the embodiment of the present invention 1.
Embodiment
Present disclosure is described in further detail with specific embodiment below in conjunction with the accompanying drawings.
Embodiment 1
With reference to Fig. 3, a kind of system of fast construction mobile phone mobile applications of the invention, including primary framework, Code Edit mould
Block, previewing module and code packetization module.
Primary framework:Calling for Android and apple both language developments APP bottoms is put up in the form of interface, makes original
Raw method can be directly invoked by JavaScript, in the present embodiment, and concrete implementation mode Android is webview, apple
Fruit is then UIWebview;
Corresponding technology Android is WebView JavaScriptinterface, and apple is then UIWebView
stringByEvaluatingJavaScriptFromString。
Code Edit module:For online editing JavaScript, html, css module, the module is integrated with primary frame
Structure provides calling for method;
Previewing module:For the module for JavaScript, html, css code for testing editor;
Code packetization module:It is file and the mould of preservation for JavaScript, html, css code building completed will to be edited
Block.
The Android and apple both language developments APP bottoms are called including mobile phone basic function module, such as camera,
Address list, make a phone call, send short messages, bluetooth connection, preserving file etc..
With reference to Fig. 4, a kind of method of fast construction mobile phone mobile applications of the invention comprises the following steps:
1)Build primary framework:Android and calling for apple both language developments APP bottoms are put up in the form of interface,
Primary method is set to be directly invoked by JavaScript;
2)Build Code Edit module:Build a set of online editing JavaScript, html and css plateform system;
3)JavaScript, html and css are developed in the plateform system;
4)Preview:View result after the replacement process of JavaScript, html, css in Android and apple, replacement;
5)Code is packed:By JavaScript, html, css after replacement respectively with Android and both language developments of apple APP
Primary code combine, generate macaronic application program.
In the present embodiment, it is described to build primary framework:Calling for Android and apple both language developments APP bottoms
Put up in the form of interface, primary method is directly invoked by JavaScript, concrete implementation mode Android is
Webview, apple is then UIWebview.
Corresponding technology Android is WebView JavaScriptinterface, and apple is then UIWebView
stringByEvaluatingJavaScriptFromString。
The Android and apple both language developments APP bottoms call including mobile phone basic function module such as camera,
Address list, make a phone call, send short messages, bluetooth connection, preserving file etc..
In the present embodiment, a set of online editing JavaScript, html and css plateform system are built, it is described online
The plateform system for editing JavaScript, html and css is cruel fourth APP, and the platform is present in the form of website, and network address is
http://app.kudingapp.com。
In cruel fourth APP platforms, we can easily develop JavaScript, html and css, and this module provides a large amount of
Control and method, and provide calling for method primary framework and be also integrated into the module, for example, Wo Menzhi
Road, html be tag combination one by one into, cruel fourth platform commonly uses some according to user and normal business demand
Function package into label model one by one, such as the article list page, carousel picture, picture library photograph album, video playback etc., I
Only need to be combined together these controls according to oneself requirement groups just can be with.Cruel fourth platform has carried out the combination of these modules excellent
Change, user just need to can only realize the combination of control with mouse drag, and after the completion of combination, can also to the length of these controls,
Wide, high and color frame etc. carries out self-defined modification.The file and primary framework of cruel fourth platform editor generation realize seamless
Docking, the primary framework that we build can read JavaScript, html that we are write etc., and primary framework provides a large amount of
Native interface, and specify that method of calling, it would be desirable to these method of calling of written in JavaScript.Cruel fourth platform by this
A little method of calling are also encapsulated, and only need to be selected which kind of interface called, selected preservation, difficulty is write this reduce user
Degree, improves development efficiency.
When code is packed, the html+javascript+css pages that Code Edit is completed are generated as file, will be all
The picture used in APP is preserved in the form of a file, is locally to load without net so using interior use picture and loading page
Network is loaded.According to the necessary configuration file of rules modification as defined in system and specified folder is bundled to, final automatic compiling is beaten
The respective file of bag generation Android or apple.
A kind of method and system of fast construction mobile phone mobile applications of the present invention, reduces development cost, improves
Development efficiency, greatly reduces the threshold of exploitation with system in this way, is a kind of fine for some middle-size and small-size APP applications
Selection.
Above example is only presently preferred embodiments of the present invention, is not intended to limit the invention, all spirit in the present invention
Within principle, any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.
Claims (10)
1. a kind of system of fast construction mobile phone mobile applications, it is characterised in that:The system includes primary framework, code
Editor module, previewing module and code packetization module.
2. the system of fast construction mobile phone mobile applications as claimed in claim 1, it is characterised in that:
The primary framework:Calling for Android and apple both language developments APP bottoms is put up in the form of interface, makes original
Raw method can be directly invoked by JavaScript;
The Code Edit module:For online editing JavaScript, html, css module, the module is integrated with primary frame
Structure provides calling for method;
The previewing module:For the module for JavaScript, html, css code for testing editor;
The code packetization module:For will edit JavaScript, html, css code building completed for file and preserve
Module.
3. the system of fast construction mobile phone mobile applications as claimed in claim 2, it is characterised in that the primary frame
Structure:Calling for Android and apple both language developments APP bottoms is put up in the form of interface, enable primary method by
JavaScript is directly invoked, and concrete implementation mode Android is webview, and apple is then UIWebview.
4. the system of fast construction mobile phone mobile applications as claimed in claim 2 or claim 3, it is characterised in that:The Android
With calling including mobile phone basic function module for apple both language developments APP bottoms.
5. the system of fast construction mobile phone mobile applications as claimed in claim 4, it is characterised in that:The mobile phone is basic
Functional module include camera, address list, make a phone call, send short messages, bluetooth connection, preserve file.
6. a kind of method of fast construction mobile phone mobile applications, it is characterised in that comprise the following steps:
1)Build primary framework:Android and calling for apple both language developments APP bottoms are put up in the form of interface,
Primary method is set to be directly invoked by JavaScript;
2)Build Code Edit module:Build a set of online editing JavaScript, html and css plateform system;
3)JavaScript, html and css are developed in the plateform system;
4)Preview:View result after the replacement process of JavaScript, html, css in Android and apple, replacement;
5)Code is packed:By JavaScript, html, css after replacement respectively with Android and both language developments of apple APP
Primary code combine, generate macaronic application program.
7. the method for fast construction mobile phone mobile applications as claimed in claim 6, it is characterised in that it is described build it is primary
Framework:Android and calling for apple both language developments APP bottoms are put up in the form of interface, enable primary method
Enough to be directly invoked by JavaScript, concrete implementation mode Android is webview, and apple is then UIWebview.
8. the method for fast construction mobile phone mobile applications as claimed in claims 6 or 7, it is characterised in that:It is described online
The plateform system for editing JavaScript, html and css is cruel fourth APP.
9. the method for fast construction mobile phone mobile applications as claimed in claims 6 or 7, it is characterised in that:The Android
With calling including mobile phone basic function module for apple both language developments APP bottoms.
10. the method for fast construction mobile phone mobile applications as claimed in claim 9, it is characterised in that:The mobile phone base
This functional module include camera, address list, make a phone call, send short messages, bluetooth connection, preserve file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710404874.7A CN107273120A (en) | 2017-06-01 | 2017-06-01 | A kind of method and system of fast construction mobile phone mobile applications |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710404874.7A CN107273120A (en) | 2017-06-01 | 2017-06-01 | A kind of method and system of fast construction mobile phone mobile applications |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107273120A true CN107273120A (en) | 2017-10-20 |
Family
ID=60064377
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710404874.7A Pending CN107273120A (en) | 2017-06-01 | 2017-06-01 | A kind of method and system of fast construction mobile phone mobile applications |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107273120A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108681454A (en) * | 2018-05-23 | 2018-10-19 | 成都淞幸科技有限责任公司 | A kind of webpage visualization component development method |
CN109445772A (en) * | 2018-12-29 | 2019-03-08 | 山东劳动职业技术学院(山东劳动技师学院) | A kind of software application frame and its development system towards smart phone |
CN110879705A (en) * | 2018-09-06 | 2020-03-13 | 中国电信股份有限公司 | Page generation method and device and computer readable storage medium |
CN111488152A (en) * | 2019-01-29 | 2020-08-04 | 阿里巴巴集团控股有限公司 | Method for compiling application program and previewing page, and related device and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103761087A (en) * | 2014-01-03 | 2014-04-30 | 北京京东尚科信息技术有限公司 | Method and device for cross-platform development of mobile applications |
CN104572042A (en) * | 2013-10-15 | 2015-04-29 | 航天信息股份有限公司 | Cross-platform middleware device of mobile terminal equipment and implementation method of cross-platform middleware device of mobile terminal equipment |
CN105893161A (en) * | 2015-12-14 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Method and apparatus for calling resource in software program |
CN106131143A (en) * | 2016-06-28 | 2016-11-16 | 北京车智赢科技有限公司 | A kind of method mutual for HTML with Native realizing Hybrid App |
-
2017
- 2017-06-01 CN CN201710404874.7A patent/CN107273120A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104572042A (en) * | 2013-10-15 | 2015-04-29 | 航天信息股份有限公司 | Cross-platform middleware device of mobile terminal equipment and implementation method of cross-platform middleware device of mobile terminal equipment |
CN103761087A (en) * | 2014-01-03 | 2014-04-30 | 北京京东尚科信息技术有限公司 | Method and device for cross-platform development of mobile applications |
CN103761087B (en) * | 2014-01-03 | 2016-10-12 | 北京京东尚科信息技术有限公司 | A kind of mobile applications cross-platform development method and device |
CN105893161A (en) * | 2015-12-14 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Method and apparatus for calling resource in software program |
CN106131143A (en) * | 2016-06-28 | 2016-11-16 | 北京车智赢科技有限公司 | A kind of method mutual for HTML with Native realizing Hybrid App |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108681454A (en) * | 2018-05-23 | 2018-10-19 | 成都淞幸科技有限责任公司 | A kind of webpage visualization component development method |
CN110879705A (en) * | 2018-09-06 | 2020-03-13 | 中国电信股份有限公司 | Page generation method and device and computer readable storage medium |
CN110879705B (en) * | 2018-09-06 | 2023-11-03 | 中国电信股份有限公司 | Page generation method, device and computer readable storage medium |
CN109445772A (en) * | 2018-12-29 | 2019-03-08 | 山东劳动职业技术学院(山东劳动技师学院) | A kind of software application frame and its development system towards smart phone |
CN109445772B (en) * | 2018-12-29 | 2022-05-24 | 山东劳动职业技术学院(山东劳动技师学院) | Software application framework oriented to smart phone and development system thereof |
CN111488152A (en) * | 2019-01-29 | 2020-08-04 | 阿里巴巴集团控股有限公司 | Method for compiling application program and previewing page, and related device and system |
CN111488152B (en) * | 2019-01-29 | 2023-05-16 | 阿里巴巴集团控股有限公司 | Application program page previewing method, related device and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107273120A (en) | A kind of method and system of fast construction mobile phone mobile applications | |
CN103020025B (en) | Technology for the automatic animation of document content | |
CN102201009B (en) | Form generating method and device | |
CN102508644B (en) | 3D (three-dimensional) user interface graphics engine system | |
CN104102545A (en) | Three-dimensional resource allocation and loading optimization method for mobile augmented reality browser | |
CN109445775B (en) | One-key active embedded code method, device and computer readable storage medium | |
CN104798036A (en) | User interface control framework for stamping out controls using a declarative template | |
CN107393013A (en) | Virtual roaming file generated, display methods, device, medium, equipment and system | |
CN103309659A (en) | User interface dynamic generation method and device based on rich client platform | |
CN109684580A (en) | A kind of methods of exhibiting and electronic equipment of dynamic page | |
CN102508662A (en) | General mobile game development system and method based on BREW (Binary Runtime Environment for Wireless) platform | |
CN104516861A (en) | Multimedia interactive document processing method | |
CN107133206A (en) | A kind of digital content makes and demonstration tool and its application | |
CN108038095A (en) | A kind of document automatic creation method | |
CN103019702B (en) | A kind of visualization of 3 d display and control editing system and method | |
CN106991096A (en) | Dynamic page rendering intent and device | |
CN110750254A (en) | Flowchart editor implementation method based on Angular | |
CN103377039A (en) | Webgame developing and analyzing method, editor and analyzer | |
CN110633436A (en) | Visualization and user-defined panorama editing method, system, storage medium and equipment | |
CN102542043A (en) | Image annotation method and device | |
CN111638870A (en) | Front-end development base platform based on acts and reduce | |
CN103425469A (en) | Method for generating mobile game codes based on MDA technology | |
CN102779034A (en) | Client side of railway ticketing system and implementation method of client side | |
CN108241491A (en) | A kind of Composing Method of Mixing and device | |
CN102375889A (en) | Method for constructing webpage through webpage construction database |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20171020 |