CN106681787A - Method and device for developing application - Google Patents
Method and device for developing application Download PDFInfo
- Publication number
- CN106681787A CN106681787A CN201710055124.3A CN201710055124A CN106681787A CN 106681787 A CN106681787 A CN 106681787A CN 201710055124 A CN201710055124 A CN 201710055124A CN 106681787 A CN106681787 A CN 106681787A
- Authority
- CN
- China
- Prior art keywords
- application
- interface
- api
- development
- precompile
- 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/40—Transformation of program code
- G06F8/41—Compilation
- G06F8/44—Encoding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
- G06F8/44—Encoding
- G06F8/447—Target code generation
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a method and a device for developing an application, relating to the technical field of terminal application. According to the method and the device, the workload of application development can be reduced and the application development efficiency can be improved. The method comprises the following steps: acquiring an API interface identifier carried by an application development instruction and a to-be-filled application parameter when the application development instruction inputted by a user is received; acquiring a pre-coded API interface corresponding to the API interface identifier from a preset interface service library, wherein the pre-coded API interfaces corresponding to different API interface identifiers are stored in the preset interface service library, each pre-coded API interface is formed in the manner of combining and encoding a plurality of bottom API interfaces, and each pre-coded API interface correspondingly executes one application development operation; and executing the application development operation for a target application by calling the pre-coded API interface corresponding to the API interface identifier and correspondingly filling the application parameter. The method and the device are suitable for application development.
Description
Technical field
The present invention relates to a kind of terminal applies technical field, more particularly to a kind of application and development method and device.
Background technology
With the rise of the intelligent terminals such as in the market panel computer, smart mobile phone, intelligent terminal has become people's life
In an indispensable part, people can by the application program installed on intelligent terminal carry out online chatting, online game,
Shopping online etc. is operated.In order to meet the changeable demand of user, it is necessary to develop different application programs.
At present, application program is entered usually using SDK (Software Development Kit, SDK)
Row exploitation, the bottom API (Application that can be specifically provided according to SDK
Programming Interface, API), manual compiling program in machine code corresponding with business demand is simultaneously filled in program in machine code
Corresponding application parameter, then by performing the program in machine code and then completing to operate an application and development of application program.Example
Such as, by performing the program in machine code of manual compiling, pre-determined advertisement picture is added in the unlatching picture of application program.
However, when multiple development and application program is needed, the program in machine code for being required for manual compiling complicated every time increased
Application and development workload, have impact on the application and development time, and then application and development can be caused less efficient.
The content of the invention
In view of this, the invention provides a kind of application and development method and device, main purpose is that can reduce application
Development amount, can improve application and development efficiency.
According to one aspect of the invention, there is provided a kind of application and development method, the method includes:
When the application and development for receiving user input is instructed, the api interface carried in the application and development instruction is obtained
The application parameter that mark and needs are filled in;
Precompile api interface corresponding with api interface mark is obtained from preset interface service library, described presetting connects
Preserve different api interfaces marks corresponding precompile api interfaces respectively in mouthful service library, each precompile api interface by
Multiple Basic API combination of interfaces compilings are obtained, and each precompile api interface correspondence performs an application and development operation;
By call to the api interface identify corresponding precompile api interface and it is corresponding fill in the application parameter,
Perform the application and development operation to intended application.
According to another aspect of the invention, there is provided a kind of application and development device, the device includes:
Acquiring unit, for when the application and development for receiving user input is instructed, obtaining application and development instruction in
The application parameter that the api interface mark and needs of carrying are filled in;
The acquiring unit, is additionally operable to obtain prelist corresponding with api interface mark from preset interface service library
Api interface is translated, different api interface marks corresponding precompile api interface respectively is preserved in the preset interface service library,
Each precompile api interface is obtained by the compiling of multiple Basic API combination of interfaces, and each precompile api interface correspondence performs one
Individual application and development operation;
Execution unit, for being connect by calling precompile API corresponding with the api interface mark of acquiring unit acquisition
Mouthful and accordingly fill in the application parameter, perform the application and development operation to intended application.
It is multiple with needs are worked as at present by a kind of application and development method and device that above-mentioned technical proposal, the present invention are provided
During development and application program, the complicated program in machine code of manual compiling is required for every time and corresponding application ginseng is filled in program in machine code
Several modes come perform application and development operation compare, the present invention can in advance compile different api interfaces, each precompile API
Interface is obtained by the compiling of multiple Basic API combination of interfaces, and each precompile api interface correspondence performs an application and development behaviour
Make, in development and application program, user can directly input and be identified comprising precompile api interface and need to fill in application parameter
Application and development is instructed, and then is performed to the corresponding application and development operation of intended application, complicated without being required for manual compiling every time
Program in machine code, reduce application and development workload, application and development efficiency can be improved.
Described above is only the general introduction of technical solution of the present invention, in order to better understand technological means of the invention,
And can be practiced according to the content of specification, and in order to allow the above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by specific embodiment of the invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit is common for this area
Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 shows a kind of application and development method flow schematic diagram provided in an embodiment of the present invention;
Fig. 2 shows another application and development method flow schematic diagram provided in an embodiment of the present invention;
Fig. 3 shows a kind of application and development apparatus structure schematic diagram provided in an embodiment of the present invention;
Fig. 4 shows another application and development apparatus structure schematic diagram provided in an embodiment of the present invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
Limited.Conversely, there is provided these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure
Complete conveys to those skilled in the art.
The embodiment of the invention provides a kind of application and development method, it is possible to reduce application and development workload, can improve should
With development efficiency, as shown in figure 1, the method includes:
101st, when the application and development for receiving user input is instructed, the api interface carried in application and development instruction is obtained
The application parameter that mark and needs are filled in.
Wherein, api interface mark can be api interface title.
For the device that the executive agent of the embodiment of the present invention can be auxiliary application and development, when the device receives user
When the application and development of input is instructed, the mark of the api interface in the instruction can be obtained and the application parameter filled in is needed, so as to
Suitable precompile api interface is found from preset interface service library according to api interface mark, and calls precompile API
Interface and corresponding application parameter is filled in, reach the purpose for performing and application and development operation being carried out to intended application.
102nd, precompile api interface corresponding with api interface mark is obtained from preset interface service library.
Wherein, different api interface marks corresponding precompile api interface respectively is preserved in preset interface service library,
Each precompile api interface is obtained by the compiling of multiple Basic API combination of interfaces, and each precompile api interface correspondence performs one
Individual application and development operation.
In embodiments of the present invention, different api interfaces, example can in advance be compiled according to different application and development demands
Such as, by calling the api interface of precompile, it is possible to achieve insert advertisement in picture is opened in application so that when application is opened
The advertisement of the insertion can automatically be played.Then different precompile api interfaces is stored in preset interface service library.
103rd, by call to api interface identify corresponding precompile api interface and it is corresponding fill in application parameter, perform
Application and development operation to intended application.
For example, when needing the application and development that load networks picture is carried out to destination application to operate, user can be with defeated
Enter corresponding application and development code command, the precompile api interface of executable load networks picture operation is included in the instruction
Mark, and with needing the URL (Uniform Resource Locator, URL) of the network picture of loading
Location, in device side, when the instruction is received, can look for according to precompile api interface mark from preset interface service library
To corresponding precompile api interface, by calling the precompile api interface, and the URL addresses are filled in, application can be caused
Program loads the corresponding network picture in the URL addresses.
A kind of application and development method provided in an embodiment of the present invention, with present when need multiple development and application program when, often
It is secondary that be required for the complicated program in machine code of manual compiling and the mode of corresponding application parameter is filled in program in machine code should to perform
Compared with exploitation operation, the embodiment of the present invention can in advance compile different api interfaces, each precompile api interface is by multiple
The compiling of Basic API combination of interfaces is obtained, and each precompile api interface correspondence performs an application and development operation, should in exploitation
When using program, user can directly input and be identified comprising precompile api interface and need the application and development for filling in application parameter to refer to
Order, and then perform to the corresponding application and development operation of intended application, without the program in machine code for being required for manual compiling complicated every time,
Application and development workload is reduced, application and development efficiency can be improved.
In order to preferably understand the method shown in above-mentioned Fig. 1, as refinement and extension to above-mentioned implementation method,
Another application and development method is the embodiment of the invention provides, as shown in Fig. 2 the method includes:
201st, by different precompile api interfaces, corresponding interface function code is packaged into interface service storehouse respectively, obtains
Preset interface service library, and preset interface service library is stored in preset interface service file.
For example, can in advance compile different api interfaces and distinguish corresponding interface letter according to different application and development demands
Then these interface function codes are packaged into lib library files by number code, obtain interface service storehouse, then protect lib library files
In the presence of in interface service (service) file being pre-created.
202nd, the configuration of Development Framework engineering is obtained into interface service engineering under preset interface service file.
For example, by the configuration of Development Framework engineering in the interface service file comprising interface service storehouse.
203rd, the introducting interface service engineering in Application development environ-ment, and set up intended application Development Engineering and preset interface
Dependence between service library.
For example, can be imported in Application development environ-ment and connect according to the storage path where preset interface service file
Mouth service engineering, then the build.gradle files in newly-established intended application Development Engineering are opened, in dependencies
Corresponding code is added under node so that dependence is set up between intended application Development Engineering and interface service engineering, then
Respective code is added under the android nodes of build.gradle files so that intended application Development Engineering and preset interface
Dependence is set up between service library, after finally being recompilated to intended application Development Engineering, intended application Development Engineering
The precompile api interface in preset interface service library can just be called.
Further, precompile api interface is upgraded demand in order to meet, can also be included:When receiving to default
During the more new command in interface service storehouse, the corresponding fresh information of preset interface service library is obtained;Connect to default according to fresh information
Precompile api interface in mouth service library is updated.For example, according to fresh information, to the corresponding interface of precompile api interface
Function code is modified, or adds the new corresponding interface function code of precompile api interface, and then can be increased new
Application and development is operated, and can meet and precompile api interface is upgraded demand.
204th, when the application and development for receiving user input is instructed, the api interface carried in application and development instruction is obtained
The application parameter that mark and needs are filled in.
Before the step 204, can also include:The operation instruction document of precompile api interface is shown, wherein, using saying
Comprising the operation instruction information of different precompile api interfaces in preset interface service library, and each precompile API in plaintext shelves
The application and development operation information that interface correspondence is performed, and then can help instruct the user how to use precompile api interface, so that
Application and development efficiency can be improved.
205th, by the dependence between intended application Development Engineering and preset interface service library, from preset interface service
Precompile api interface corresponding with api interface mark is obtained in storehouse.
For example, the api interface carried in application and development instruction is designated mark loadimage, developed by intended application
Dependence between engineering and preset interface service library, obtains corresponding with loadimage pre- from preset interface service library
Compiling api interface.
206th, by call to api interface identify corresponding precompile api interface and it is corresponding fill in application parameter, perform
Application and development operation to intended application.
For example, when needing the application and development that file copy is carried out to destination application to operate, user is pre- by checking
The operation instruction document of api interface is compiled, corresponding application and development code command is input into, executable file is included in the instruction
The precompile api interface mark of copy function, and file original path and need the destination path that copies to, in device
Side, when the instruction is received, can identify according to the precompile api interface, be connect with default by intended application Development Engineering
Dependence between mouth service library, finds corresponding precompile api interface, by calling this pre- from preset interface service library
Compiling api interface, and fill in the original path of this document and need the destination path for copying to, it is possible to achieve to intended application
Program carries out the application and development operation of file copy.
Another application and development method provided in an embodiment of the present invention, with present when need multiple development and application program when,
It is required for the complicated program in machine code of manual compiling every time and fills in the mode of corresponding application parameter in program in machine code performing
Application and development operation is compared, and the embodiment of the present invention can in advance compile different api interfaces, and each precompile api interface is by more
Individual Basic API combination of interfaces compiling is obtained, and each precompile api interface correspondence performs an application and development operation, in exploitation
During application program, user can directly input and be identified comprising precompile api interface and need to fill in the application and development of application parameter
Instruction, and then perform to the corresponding application and development operation of intended application, without the code journey for being required for manual compiling complicated every time
Sequence, reduces application and development workload;And the operation instruction document of precompile api interface can be shown, user is instructed in help
How precompile api interface is used, such that it is able to improve application and development efficiency.
Further, implementing as Fig. 1 methods describeds, the embodiment of the invention provides a kind of application and development dress
Put, as shown in figure 3, described device includes:Acquiring unit 31, execution unit 32.
Acquiring unit 31, can be used for, when the application and development for receiving user input is instructed, obtaining the application and development
The application parameter that the api interface mark and needs carried in instruction are filled in.Acquiring unit 31 is opened to obtain application in the present apparatus
The application parameter that the api interface mark and needs of middle carrying of sending instructions are filled in, and obtained from preset interface service library corresponding
The main functional modules of precompile api interface.
The acquiring unit 31, can be also used for obtaining corresponding with api interface mark from preset interface service library
Precompile api interface, wherein, different api interfaces marks are preserved in the preset interface service library corresponding pre- respectively
Compiling api interface, each precompile api interface is obtained by the compiling of multiple Basic API combination of interfaces, and each precompile API connects
Mouth correspondence performs an application and development operation.In embodiments of the present invention, can in advance be compiled according to different application and development demands
Different api interfaces are translated, and the interface function code of different precompile api interfaces is stored in preset interface service library.
Execution unit 32, can be used for corresponding pre- by the api interface mark called with the acquiring unit 31 is obtained
Compile api interface and accordingly fill in the application parameter, perform the application and development operation to intended application.Execution unit 32 is
The main functional modules to the application and development operation of intended application are performed in the present apparatus.
It should be noted that other of each functional unit involved by a kind of application and development device provided in an embodiment of the present invention
Corresponding description, may be referred to the correspondence description in Fig. 1, will not be repeated here.
A kind of application and development device provided in an embodiment of the present invention, including:Acquiring unit, execution unit etc., work as with current
When needing multiple development and application program, the complicated program in machine code of manual compiling is required for every time and fills in corresponding in program in machine code
Application parameter mode come perform application and development operation compare, the embodiment of the present invention can in advance compile different api interfaces,
Each precompile api interface is obtained by the compiling of multiple Basic API combination of interfaces, and each precompile api interface correspondence performs one
Individual application and development operation, in development and application program, user can directly input and be filled out comprising precompile api interface mark and needs
The application and development instruction of application parameter is write, and then is performed to the corresponding application and development operation of intended application, without being required for every time
The complicated program in machine code of manual compiling, reduces application and development workload, can improve application and development efficiency.
Further, implementing as Fig. 2 methods describeds, the embodiment of the invention provides another application and development dress
Put, as shown in figure 4, described device includes:Acquiring unit 41, execution unit 42.
Acquiring unit 41, can be used for, when the application and development for receiving user input is instructed, obtaining the application and development
The application parameter that the api interface mark and needs carried in instruction are filled in.
The acquiring unit 41, can be also used for obtaining corresponding with api interface mark from preset interface service library
Precompile api interface, different api interfaces mark corresponding precompiles respectively are preserved in the preset interface service library
Api interface, each precompile api interface is obtained by the compiling of multiple Basic API combination of interfaces, and each precompile api interface pair
An application and development operation should be performed.
Execution unit 42, can be used for corresponding pre- by the api interface mark called with the acquiring unit 41 is obtained
Compile api interface and accordingly fill in the application parameter, perform the application and development operation to intended application.
Further, in order to realize opening the corresponding application of intended application according to the application and development of user input instruction execution
Hair operation, described device also includes:Processing unit 43, dispensing unit 44, set up unit 45.
Processing unit 43, can be used for distinguishing different precompile api interfaces at corresponding interface function code packing
Interface service storehouse is managed into, preset interface service library is obtained, and the preset interface service library is stored in preset interface service text
In part folder.
Dispensing unit 44, can be used for the configuration of Development Framework engineering under the preset interface service file, obtain
Interface service engineering.
Unit 45 is set up, can be used for importing the interface service engineering in Application development environ-ment, and set up target and answered
With the dependence between Development Engineering and the preset interface service library.
The acquiring unit 41, specifically can be used for by the dependence, from preset interface service library obtain with
The api interface identifies corresponding precompile api interface.
Further, in order to help instruct the user how to use precompile api interface, described device also includes:Display is single
Unit 46.
Display unit 46, is displayed for the operation instruction document of precompile api interface, in the operation instruction document
Operation instruction information comprising different precompile api interfaces in preset interface service library, and each precompile api interface correspondence
The application and development operation information of execution, and then can help instruct the user how to use precompile api interface, such that it is able to improve
Application and development efficiency.
Further, precompile api interface is upgraded demand in order to meet, described device also includes:Updating block 47.
The acquiring unit 41, can be also used for, when the more new command to preset interface service library is received, obtaining institute
State the corresponding fresh information of preset interface service library.
The updating block 47, the fresh information that can be used for being got according to the acquiring unit 41 connects to described presetting
Precompile api interface in mouth service library is updated.For example, according to fresh information, to the corresponding interface of precompile api interface
Function code is modified, or adds the new corresponding interface function code of precompile api interface, and then can be increased new
Application and development is operated, and can meet and precompile api interface is upgraded demand.
It should be noted that its of each functional unit involved by another application and development device provided in an embodiment of the present invention
He accordingly describes, and may be referred to the correspondence description in Fig. 2, will not be repeated here.
Another application and development device provided in an embodiment of the present invention, including:Acquiring unit, execution unit, processing unit,
Dispensing unit, unit, display unit, updating block etc. are set up, and when multiple development and application program is needed, needed every time at present
Want program in machine code that manual compiling is complicated and the mode of corresponding application parameter filled in program in machine code to perform application and development
Operation is compared, and the embodiment of the present invention can in advance compile different api interfaces, and each precompile api interface is by multiple Basic APIs
Combination of interfaces compiling is obtained, and each precompile api interface correspondence performs an application and development operation, in development and application program
When, user can directly input and be identified comprising precompile api interface and need the application and development for filling in application parameter to instruct, and then
Perform to the corresponding application and development operation of intended application, without the program in machine code for being required for manual compiling complicated every time, reduce
Application and development workload;And the operation instruction document of precompile api interface can be shown, help is instructed the user how using pre-
Compiling api interface, such that it is able to improve application and development efficiency.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment
Point, may refer to the associated description of other embodiment.
It is understood that the correlated characteristic in the above method and device can be referred to mutually.In addition, in above-described embodiment
" first ", " second " etc. be, for distinguishing each embodiment, and not represent the quality of each embodiment.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein.
Various general-purpose systems can also be used together with based on teaching in this.As described above, construct required by this kind of system
Structure be obvious.Additionally, the present invention is not also directed to any certain programmed language.It is understood that, it is possible to use it is various
Programming language realizes the content of invention described herein, and the description done to language-specific above is to disclose this hair
Bright preferred forms.
In specification mentioned herein, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be put into practice in the case of without these details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify one or more that the disclosure and helping understands in each inventive aspect, exist
Above to the description of exemplary embodiment of the invention in, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
The application claims of shield features more more than the feature being expressly recited in each claim.More precisely, such as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, and wherein each claim is in itself
All as separate embodiments of the invention.
Those skilled in the art are appreciated that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment
Unit or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit exclude each other, can use any
Combine to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power
Profit is required, summary and accompanying drawing) disclosed in each feature can the alternative features of or similar purpose identical, equivalent by offer carry out generation
Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments
In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment required for protection is appointed
One of meaning mode can be used in any combination.
All parts embodiment of the invention can be realized with hardware, or be run with one or more processor
Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that can use in practice
Microprocessor or digital signal processor (DSP) realize a kind of application and development method and device according to embodiments of the present invention
In some or all parts some or all functions.The present invention is also implemented as described herein for performing
Some or all equipment or program of device (for example, computer program and computer program product) of method.So
Realize that program of the invention can be stored on a computer-readable medium, or can have one or more signal shape
Formula.Such signal can be downloaded from internet website and obtained, or be provided on carrier signal, or with any other shape
Formula is provided.
It should be noted that above-described embodiment the present invention will be described rather than limiting the invention, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol being located between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not
Element listed in the claims or step.Word "a" or "an" before element is not excluded the presence of as multiple
Element.The present invention can come real by means of the hardware for including some different elements and by means of properly programmed computer
It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame
Claim.
Claims (10)
1. a kind of application and development method, it is characterised in that including:
When the application and development for receiving user input is instructed, the api interface mark carried in the application and development instruction is obtained
And need the application parameter filled in;
Precompile api interface corresponding with api interface mark, the preset interface clothes are obtained from preset interface service library
Different api interface marks corresponding precompile api interface respectively is preserved in business storehouse, each precompile api interface is by multiple
The compiling of Basic API combination of interfaces is obtained, and each precompile api interface correspondence performs an application and development operation;
By call to the api interface identify corresponding precompile api interface and it is corresponding fill in the application parameter, perform
Application and development operation to intended application.
2. application and development method according to claim 1, it is characterised in that obtained in the service library from preset interface with
Before the api interface identifies corresponding precompile api interface, methods described also includes:
By different precompile api interfaces, corresponding interface function code packing is processed into interface service storehouse respectively, is preset
Interface service storehouse, and the preset interface service library is stored in preset interface service file;
By the configuration of Development Framework engineering under the preset interface service file, interface service engineering is obtained;
The interface service engineering is imported in Application development environ-ment, and sets up intended application Development Engineering with the preset interface
Dependence between service library.
3. application and development method according to claim 2, it is characterised in that obtained in the service library from preset interface with
The api interface identifies corresponding precompile api interface, specifically includes:
By the dependence, precompile API corresponding with api interface mark is obtained from preset interface service library and is connect
Mouthful.
4. application and development method according to claim 1, it is characterised in that described when the application that receive user input is opened
When sending instructions, before obtaining the application parameter that the api interface carried in the application and development instruction is identified and needs are filled in, institute
Stating method also includes:
Show the operation instruction document of precompile api interface, in the operation instruction document comprising in preset interface service library not
With the operation instruction information of precompile api interface, and the application and development operation letter that each precompile api interface correspondence is performed
Breath.
5. application and development method according to claim 1, it is characterised in that methods described also includes:
When the more new command to preset interface service library is received, obtain corresponding renewal of the preset interface service library and believe
Breath;
The precompile api interface in the preset interface service library is updated according to the fresh information.
6. a kind of application and development device, it is characterised in that including:
Acquiring unit, for when the application and development for receiving user input is instructed, obtaining carrying in the application and development instruction
Api interface mark and need the application parameter filled in;
The acquiring unit, is additionally operable to obtain precompile API corresponding with api interface mark from preset interface service library
Interface, preserves different api interface marks corresponding precompile api interface respectively in the preset interface service library, each
Precompile api interface is obtained by the compiling of multiple Basic API combination of interfaces, and each precompile api interface correspondence performs one and answers
Operated with exploitation;
Execution unit, for by call the corresponding precompile api interface of api interface mark obtained with the acquiring unit with
And the application parameter is accordingly filled in, perform the application and development operation to intended application.
7. application and development device according to claim 6, it is characterised in that described device also includes:
Processing unit, for corresponding interface function code packing to be processed into interface clothes respectively by different precompile api interfaces
Business storehouse, obtains preset interface service library, and the preset interface service library is stored in preset interface service file;
Dispensing unit, under the preset interface service file, interface service work is obtained for by the configuration of Development Framework engineering
Journey;
Unit is set up, for importing the interface service engineering in Application development environ-ment, and intended application Development Engineering is set up
With the dependence between the preset interface service library.
8. application and development device according to claim 7, it is characterised in that
The acquiring unit, specifically for by the dependence, being obtained from preset interface service library and the api interface
Identify corresponding precompile api interface.
9. application and development device according to claim 6, it is characterised in that described device also includes:
Display unit, the operation instruction document for showing precompile api interface connects in the operation instruction document comprising default
The operation instruction information of different precompile api interfaces in mouth service library, and the application that each precompile api interface correspondence is performed
Exploitation operation information.
10. application and development device according to claim 6, it is characterised in that described device also includes:Updating block;
The acquiring unit, is additionally operable to, when the more new command to preset interface service library is received, obtain the preset interface
The corresponding fresh information of service library;
The updating block, for the fresh information that is got according to the acquiring unit in the preset interface service library
Precompile api interface is updated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710055124.3A CN106681787A (en) | 2017-01-24 | 2017-01-24 | Method and device for developing application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710055124.3A CN106681787A (en) | 2017-01-24 | 2017-01-24 | Method and device for developing application |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106681787A true CN106681787A (en) | 2017-05-17 |
Family
ID=58860042
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710055124.3A Pending CN106681787A (en) | 2017-01-24 | 2017-01-24 | Method and device for developing application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106681787A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109976752A (en) * | 2017-12-27 | 2019-07-05 | 沪江教育科技(上海)股份有限公司 | A kind of cross-platform development method and system |
CN110286964A (en) * | 2018-03-15 | 2019-09-27 | 深圳Tcl数字技术有限公司 | Method, storage medium and the intelligent terminal of the automatic calling interface of Embedded Application |
CN111966357A (en) * | 2019-05-20 | 2020-11-20 | 北京车和家信息技术有限公司 | Operating system application compiling method and device and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101256482A (en) * | 2007-12-19 | 2008-09-03 | 深圳市同洲电子股份有限公司 | Development system and method for built-in application program |
CN101458633A (en) * | 2007-12-13 | 2009-06-17 | 华为软件技术有限公司 | Method for accessing host program by script program, and system and apparatus thereof |
CN102609264A (en) * | 2012-02-14 | 2012-07-25 | 深圳市同洲视讯传媒有限公司 | Method and device for generating calling codes by calling application programming interfaces |
CN103092639A (en) * | 2011-11-07 | 2013-05-08 | 腾讯科技(深圳)有限公司 | Method and device for achieving application |
-
2017
- 2017-01-24 CN CN201710055124.3A patent/CN106681787A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101458633A (en) * | 2007-12-13 | 2009-06-17 | 华为软件技术有限公司 | Method for accessing host program by script program, and system and apparatus thereof |
CN101256482A (en) * | 2007-12-19 | 2008-09-03 | 深圳市同洲电子股份有限公司 | Development system and method for built-in application program |
CN103092639A (en) * | 2011-11-07 | 2013-05-08 | 腾讯科技(深圳)有限公司 | Method and device for achieving application |
CN102609264A (en) * | 2012-02-14 | 2012-07-25 | 深圳市同洲视讯传媒有限公司 | Method and device for generating calling codes by calling application programming interfaces |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109976752A (en) * | 2017-12-27 | 2019-07-05 | 沪江教育科技(上海)股份有限公司 | A kind of cross-platform development method and system |
CN110286964A (en) * | 2018-03-15 | 2019-09-27 | 深圳Tcl数字技术有限公司 | Method, storage medium and the intelligent terminal of the automatic calling interface of Embedded Application |
CN111966357A (en) * | 2019-05-20 | 2020-11-20 | 北京车和家信息技术有限公司 | Operating system application compiling method and device and electronic equipment |
CN111966357B (en) * | 2019-05-20 | 2024-02-27 | 北京车和家信息技术有限公司 | Operating system application compiling method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106598579B (en) | Method and apparatus for integrating dynamic type programming language on blockchain | |
CN104572114B (en) | A kind of binding device, using updating device and method | |
CN108376073B (en) | Test software package generation method and terminal | |
CN108804188A (en) | Changing an interface skin method and device | |
CN104866293B (en) | A kind of method and device to Android application extensions for Microsoft Internet Explorer & Microsoft Office | |
CN107797826B (en) | Rule configuration method based on rule engine, terminal and equipment | |
CN104679532B (en) | kernel module loading method and device | |
CN108984171B (en) | Continuous scene construction method based on Unity3D and storage medium | |
CN109558202A (en) | Original list development approach, device, equipment and storage medium based on small routine | |
CN104461625A (en) | Hot patch realization method and system | |
CN107168749A (en) | A kind of Compilation Method, device, equipment and computer-readable recording medium | |
CN105159738A (en) | Hot patch implementation method and system | |
CN106020877A (en) | Automatic update method and apparatus for system environment configuration | |
CN105068813A (en) | Method and device for providing android package (APK) modification service | |
CN106681787A (en) | Method and device for developing application | |
CN108536451A (en) | Application program buries a method for implanting and device | |
CN105049514B (en) | A kind of document down loading method and device | |
CN106648664A (en) | Self-service terminal business process updating method and apparatus | |
CN101710305B (en) | Method and system for realizing white box testing of computer software | |
CN106775862A (en) | Using loading method and device | |
CN106055375A (en) | Application program installation method and device | |
CN106933591A (en) | The method and device that code merges | |
CN104484201A (en) | Method and device for updating software tool development package of IOS (Internetwork Operating System) equipment | |
CN106843984A (en) | The update method and device of application database | |
CN105868639A (en) | Kernel vulnerability repair method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170517 |
|
RJ01 | Rejection of invention patent application after publication |