CN105468351B - A kind of software integrating method and device applied for developing Android platform - Google Patents
A kind of software integrating method and device applied for developing Android platform Download PDFInfo
- Publication number
- CN105468351B CN105468351B CN201410459731.2A CN201410459731A CN105468351B CN 105468351 B CN105468351 B CN 105468351B CN 201410459731 A CN201410459731 A CN 201410459731A CN 105468351 B CN105468351 B CN 105468351B
- Authority
- CN
- China
- Prior art keywords
- software
- integrated software
- integrated
- catalogue
- file
- 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.)
- Active
Links
Landscapes
- Stored Programmes (AREA)
Abstract
This application discloses a kind of for developing the software integrating method and device of Android platform application, the method includes:Obtain engineering root and the application program identification of application program;The application program identification refers to the unique identification of the application program in the server;Receive user to can integrated software selection, using user select can integrated software as to integrated software;It traverses each described to catalogue where integrated software, the associated documents under the catalogue to integrated software is copied into the engineering root;And according to preset configuration information and the title to integrated software, the configuration file of the application program is configured;The associated documents include at least the JAVA archive file and/or resource file to integrated software.Using method provided by the present application, it can be automatically integrating the third party software of user's selection, to reduce the integrated difficulty of software, achieve the effect that the workload for reducing developer.
Description
Technical field
The present invention relates to mobile internet technical fields, and in particular to a kind of for developing the soft of Android platform application
Part integrated approach and device.
Background technique
Friendly alliance is a mobile Development person service platform, provides data statistic analysis, the exploitation of profession for mobile Development person
With operation component and extension service.Currently, the service that friendly alliance's mobile Development person service platform provides includes mobile application statistical
The moving game statistical analysis of analysis and the segmented industry, socialization share component, message is pushed, automatically updated, user feedback, mistake
The accidentally products such as analysis.Friendly alliance provides the multi-platform services such as iOS, Android and Windows Phone.Currently, domestic mainstream exploitation
Person is the user of friendly alliance mostly, have surpass 180,000 meter mobile application from friendly alliance service in benefit.
Friendly alliance's socialization component can allow mobile application quickly to have socialization and the functions such as share, logs in, commenting on, liking,
And provide real-time, comprehensive socialization data statistic analysis service.When the developer of Android platform mobile application integrates third
When square SDK (Software Development Kit, Software Development Kit), the socialization that friendly alliance provides can be used and share
Subassembly product.Traditionally, when the developer of mobile application integrates third party SDK in Android platform, following two can be used
Mode:
1) engineering reference is integrated:Third party SDK is integrated by the way of engineering reference, needing will be all to integrated software
Resource file is all bundled to application program perhaps in game so that application program or the volume of game be caused to increase, and user
Size for installation kit is all than more sensitive.
2) manual mode is integrated:Third party SDK is integrated using manual mode, developer's manual copy is needed to wait for integrated software
Including associated documents into the corresponding file directory of engineering, such as JAVA archive file and resource file etc., and need
Developer determines whether to cover original resource.In addition, user is also needed to modify the inventory file of engineering in many cases, such as weigh
The addition of limit, the registration of the page etc., the whole process so as to cause Integrated Simulation is quite cumbersome and than relatively time-consuming.To sum up institute
It states, is placed on due to different software in different file directorys, when integrated software needs user to copy one by one, covers associated documents
Equal work, are easy to appear careless mistake, for example forget to copy some resource, so as to lead to mobile applications in this way
Occurs mistake at runtime.
Therefore, the prior art there are problems that third party software can not be automatically integrating when developing Android application.
Summary of the invention
The present invention provides a kind of software integrating method and device applied for developing Android platform, existing to solve
The problem of technological development Android can not be automatically integrating third party software when applying.
The present invention provides a kind of software integrating method applied for developing Android platform, including:
Obtain engineering root and the application program identification of application program;The application program identification refers to described using journey
The unique identification of sequence in the server;
Receive user to can integrated software selection, using user select can integrated software as to integrated software;
It traverses each described to catalogue where integrated software, the associated documents under the catalogue to integrated software is copied to
The engineering root;And according to preset configuration information and the title to integrated software, the application program is matched
File is set to be configured;The associated documents include at least the JAVA archive file and/or resource file to integrated software.
Optionally, in the reception user to can further include before the selection of integrated software:
Will described in can integrated software it is locally downloading.
Optionally, in the reception user to can further include before the selection of integrated software:
According to it is preset it is described can name of the integrated software list, show it is all it is described can integrated software.
Optionally, it is described according to it is preset it is described can name of the integrated software list, show it is all it is described can integrated software be
Refer to, judge to store it is each it is described can the catalogue of integrated software whether there is, if so, by this can integrated software be shown as optional
?;If it is not, then by this can integrated software be shown as unavailable emphasis.
Optionally, it is described can integrated software include platform software and/or component software;The platform software includes:Mail,
Short message, wechat and circle of friends, Tencent's microblogging, Sina weibo, Renren Network, QQ friends and/or QQ space;The component software packet
It includes:Comment component likes component, customer center component, shakes component and/or good friend's component.
Optionally, the associated documents by under the catalogue to integrated software copy to the engineering root and include:
According to the title to integrated software, judge that the storage catalogue to integrated software whether there is;If so,
Obtain the storage catalogue to integrated software;If it is not, then pushing error reporting;
Whether judgement is described to include library file under integrated software catalogue, if so, by soft wait integrate described in the storage
Library file in the catalogue of part copies to the library file catalogue of the engineering root;
Whether judgement described to include resource file under integrated software catalogue, if so, by described in the storage to integrated
Resource file in the catalogue of software copies under the correspondence catalogue of the Resource TOC of the engineering root.
Optionally, described according to preset configuration information and the title to integrated software, to the application program
Configuration file carries out configuration:
According to preset configuration information and the title to integrated software, acquisition is described to match confidence to integrated software
Breath;
The configuration file of the application program is written in the configuration information to integrated software.
Optionally, the configuration information includes permission registration and/or page registration.
Optionally, further include:
By it is described can the core document of sharing function that relies on of integrated software copy to the correspondence mesh of the engineering root
Record;The core document of the sharing function includes the library file of sharing function and the resource file of sharing function;
The page and state that socialization component makes that socialization component uses are registered in the configuration file of the application program
Associated authorization.
Optionally, it is described by it is described can the core document of sharing function that relies on of integrated software copy to the engineering root mesh
The correspondence catalogue of record includes:
The library file of the sharing function is copied to the Resource TOC of the engineering root;
The resource file of the sharing function is copied to the library file catalogue of the engineering root.
Optionally, further include:
The configuration file is written into the application program identification.
The Integrated Simulation device that the present invention also provides a kind of to apply for developing Android platform, including:
First acquisition unit, for obtaining engineering root and the application program identification of application program;The application program
Mark refers to the unique identification of the application program in the server;
Receiving unit, for receive user to can integrated software selection, using user select can integrated software as to
Integrated software;
Traversal Unit, it is each described to catalogue where integrated software for traversing, it will be under the catalogue to integrated software
Associated documents copy to the engineering root;And according to preset configuration information and the title to integrated software, to institute
The configuration file for stating application program is configured;The associated documents include at least the JAVA archive file to integrated software
And/or resource file.
Optionally, further include:
Download unit, for will described in can integrated software it is locally downloading.
Optionally, further include:
Display unit, for according to it is preset it is described can name of the integrated software list, show it is all it is described can integrated software.
Optionally, it is described according to it is preset it is described can name of the integrated software list, show it is all it is described can integrated software be
Refer to, judge to store it is each it is described can the catalogue of integrated software whether there is, if so, by this can integrated software be shown as optional
?;If it is not, then by this can integrated software be shown as unavailable emphasis.
Optionally, it is described can integrated software include platform software and/or component software;The platform software includes:Mail,
Short message, wechat and circle of friends, Tencent's microblogging, Sina weibo, Renren Network, QQ friends and/or QQ space;The component software packet
It includes:Comment component likes component, customer center component, shakes component and/or good friend's component.
Optionally, the Traversal Unit includes replication module unit, for by the correlation under the catalogue to integrated software
File copies to the engineering root, and the replication module unit includes:
Subelement is obtained, for, to the name of the integrated software, judging that the storage catalogue to integrated software is according to described
No presence;If so, obtaining the storage catalogue to integrated software;If it is not, then pushing error reporting;
First judgement duplication subelement, it is described to whether include library file under integrated software catalogue for judging, if so,
The library file catalogue of the engineering root will be copied to described in the storage to the library file in the catalogue of integrated software;
Second judgement duplication subelement, it is described to whether include resource file under integrated software catalogue for judging, if so,
The Resource TOC of the engineering root will be then copied to described in the storage to the resource file in the catalogue of integrated software
Under corresponding catalogue.
Optionally, the Traversal Unit includes configuration subelement, for according to preset configuration information and described to integrated
The title of software configures the configuration file of the application program, and the configuration subelement includes:
Configuration information subelement is obtained, for obtaining according to preset configuration information and the title to integrated software
The configuration information to integrated software;
Configuration information subelement is written, the configuration of the application program is written for the configuration information to integrated software
File.
Optionally, the configuration information includes permission registration and/or page registration.
Optionally, further include:
Replicate core document unit, for by it is described can the core document of sharing function that relies on of integrated software copy to institute
State the correspondence catalogue of engineering root;The core document of the sharing function includes the library file and sharing function of sharing function
Resource file;
First write-in configuration information unit, uses for registering socialization component in the configuration file of the application program
The page and the associated authorization that uses of statement socialization component.
Optionally, the duplication core document unit includes:
First duplication core subelement, for the library file of the sharing function to be copied to the money of the engineering root
Source directory;
Second duplication core subelement, for the resource file of the sharing function to be copied to the engineering root
Library file catalogue.
Optionally, further include:
Second write-in configuration information unit, for the configuration file to be written in the application program identification.
Compared with prior art, the present invention has the following advantages that:
The software integrating method and device provided by the present application applied for developing Android platform passes through to obtain and apply
The engineering root of program, application program identification and receive user to can integrated software selection, and traverse each to integrated
Catalogue where software will copy to engineering root to the associated documents under integrated software catalogue, and match confidence according to preset
Breath and to integrated software title, the configuration file of application program is configured, so as to be automatically integrating user selection
Third party software reduces the integrated difficulty of software, achievees the effect that the workload for reducing developer.
Detailed description of the invention
Fig. 1 is the flow chart of the software integrating method embodiment for developing Android platform application of the application;
Fig. 2 is the application for developing before the software integrating method embodiment step S103 of Android platform application
Preparation process specific flow chart;
Fig. 3 is the tool of the software integrating method embodiment step S105 for developing Android platform application of the application
Body flow chart;
Fig. 4 is the application for developing after the software integrating method embodiment step S105 of Android platform application
Specific flow chart;
Fig. 5 is the schematic diagram of the Integrated Simulation Installation practice for developing Android platform application of the application.
Fig. 6 is the specific schematic diagram of the Integrated Simulation Installation practice for developing Android platform application of the application;
Fig. 7 is the application for developing the Integrated Simulation Installation practice Traversal Unit 103 of Android platform application
Specific schematic diagram.
Specific embodiment
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention.But the present invention can be with
Much it is different from other way described herein to implement, those skilled in the art can be without prejudice to intension of the present invention the case where
Under do similar popularization, therefore the present invention is not limited to the specific embodiments disclosed below.
In this application, a kind of software integrating method applied for developing Android platform is provided, this method is answered
It is in computer equipment or the other smart machines for develop Android platform application with environment.In the embodiment of the present application, with
Computer equipment is the application environment of illusion.The application provides a kind of for developing the software set of Android platform application simultaneously
At device.
Below in conjunction with attached drawing, to being described in detail one by one in the specific embodiment of the application.
Referring to FIG. 1, its stream for the software integrating method embodiment for developing Android platform application of the application
Cheng Tu.
Described method includes following steps:
Step S101:Obtain engineering root and the application program identification of application program;The application program identification refers to
The unique identification of the application program in the server.
The engineering root of application program described herein, the engineering root mesh established when referring to one mobile application of exploitation
Record.Under engineering root, the various associated documents including building application program needs.
In the present embodiment, an Android4.4 application engineering root include src file, gen file,
4.4 file of Android, assets file, libs file, res file and configuration file
AndroidManifest.xml and property file project.properties.Wherein, res file is referred to as Resource TOC,
The catalogue includes all resource files in project, and resource file will be compiled into application program.Libs file is referred to as library
File directory.It include android.jar file under 4.4 file of Android, this is a Java archive file, wherein including
All Android SDK libraries (such as Views, Controls) and APIs needed for constructing application program.Returned by android.jar
Application program can be tied to Android SDK and Android Emulator by files, all so as to use
The Ku Hebao of Android, and application program is debugged in environment appropriate.Such as:HelloWorld.java source file
In:
import android.app.Activity;
import android.os.Bundle;
This two line code is exactly the packet for importing application program from android.jar and needing.
Application program identification described herein refers to friendly alliance Appkey, the socialization that application program is provided using friendly alliance
When component, developer is needed to register the application program in friendly alliance in advance, friendly alliance is the one Ge You alliance of application assigned
Appkey.Application program identification refers to unique identification of the application program in friendly alliance's server.It include friendly alliance for one
The application program of Appkey, friendly alliance's service platform can track and record user by the friend alliance Appkey and use the application program
Behavior, to provide real-time, comprehensive socialization data statistic analysis service for developer.
Step S103:Receive user to can integrated software selection, using user select can integrated software as wait integrate
Software.
This step for user need can integrated software, the mode of acquisition is to receive user actively to select.Specifically to
User show can integrated software options, independently selected by user.
As the premise for receiving user's selection, shows and should be the software that can choose for the software of user's selection.For
This needs to be implemented step shown in Fig. 2 before executing this step.
Referring to FIG. 2, its specific flow chart for the preparation process before this execution step S103.In the present embodiment,
In the reception user to can further include before the selection of integrated software:
Step S201:Will described in can integrated software it is locally downloading.
Step S202:According to it is preset can name of the integrated software list, show it is all it is described can integrated software.
It is described herein can name of the integrated software list, refer to that friendly alliance's socialization component provides it is all can integrated software
Name list.
The software integrating method provided by the present application applied for developing Android platform, friendly alliance's socialization component provide
It is all can integrated software, user can select that downloading needs according to specific application demand can integrated software to local computer
Equipment.To user show can integrated software options when, show that friendly alliance's socialization component provides it is all can integrated software.
In the present embodiment, according to it is preset can name of the integrated software list, show it is all it is described can integrated software refer to,
Judgement storage it is each it is described can the catalogue of integrated software whether there is, if so, by this can integrated software be shown as option;If
It is no, then by this can integrated software be shown as unavailable emphasis.
In the present embodiment, can integrated software include platform software and/or component software;The platform software includes:Postal
Part, short message, wechat and circle of friends, Tencent's microblogging, Sina weibo, Renren Network, QQ friends and/or QQ space;The component software
Including:Comment component likes component, customer center component, shakes component and/or good friend's component.
Step S105:Traverse it is each described to catalogue where integrated software, by the correlation under the catalogue to integrated software
File copies to the engineering root;And according to preset configuration information and the title to integrated software, answer described
It is configured with the configuration file of program;The associated documents include at least the JAVA archive file to integrated software and/
Or resource file.
The software integrating method provided by the present application applied for developing Android platform, when acquisition developer's selection
Can be after integrated software, it will be one by one being integrated into application program being developed to integrated software.
Referring to FIG. 3, it is the application for developing the software integrating method embodiment step of Android platform application
The specific flow chart of S105.In the present embodiment, the associated documents by under the catalogue to integrated software copy to described
Engineering root includes:
Step S1051:According to the title to integrated software, judge whether the storage catalogue to integrated software deposits
?;If so, obtaining the storage catalogue to integrated software;If it is not, then pushing error reporting.
In the present embodiment, to described when the associated documents of integrated software replicate, if storage is described soft wait integrate
The catalogue of part is not present, then pushes error reporting to developer, provide corresponding prompt, allows a developer to know specific
Error reason, to take corresponding solution.
Step S1052:Whether judgement is described to include library file under integrated software catalogue, if so, by the storage institute
State the library file catalogue that the library file in the catalogue to integrated software copies to the engineering root.
For example, include SocialSDK_WeiXin_1.jar in the catalogue of storage " wechat and circle of friends " software,
This document is then copied to the library file catalogue of engineering root by SocialSDK_WeiXin_2.jar archive file.
In the present embodiment, it is each can integrated software and JAVA archive file corresponding relationship it is as shown in table 1:
Table 1, can integrated software and JAVA archive file mapping table
Wherein, the jar file of QQ and QQ space SSO (exempting to log in) reference is identical.When needs while supporting QQ and QQ Zone
When, it need to only add a SocialSDK_QQZone_1.jar, SocialSDK_QQZone_2.jar file.
In the present embodiment, the packet name of each platform software is modified, for example, wechat platform is original
Libammsdk.jar is changed to SocialSDK_WeiXin.jar, therefore as there is " Unable in application program operational process
execute dex:Multiple dex files define " problem deletes libammsdk.jar or SocialSDK_
One in WeiXin.jar can be solved problem.
Step S1053:Whether judgement is described to include resource file under integrated software catalogue, if so, by the storage
Resource file in the catalogue to integrated software copies under the correspondence catalogue of the Resource TOC of the engineering root.
In the present embodiment, described according to preset configuration information and the title to integrated software, to the application
The configuration file of program carries out configuration:
Step S1054:According to preset configuration information and the title to integrated software, obtain described to integrated software
Configuration information;
Step S1055:The configuration file of the application program is written in the configuration information to integrated software.
In the present embodiment, the configuration information includes permission registration and/or page registration.
The configuration file of application program described herein refers to total configuration file of project, records used in application
Various assemblies list function provided by application program.In this document, it is possible to specify the service that application program uses,
Such as:Telephone service, Internet service, short message service, GPS service etc..When newly adding one for the application program
When Activity (page), it is also desirable to carry out corresponding configuration in this document, only after configuration well, just be capable of calling this
Activity。
In the present embodiment, configuration file AndroidManifest.xml includes following setting:Application program permission
(application permissions), the page (Activities), component filters (intent filters) etc..For example,
QQ space platform software is integrated in application program, the corresponding configuration information of the platform includes:
The software integrating method provided by the present application applied for developing Android platform, user answer in Android platform
Third party software can be repeatedly integrated in.When first time integrating third party software, it is also necessary to which disposably integrated third party is soft
The core document for the sharing function that part relies on, Ji You alliance socialization component core SDK packet and resource file.
Referring to FIG. 4, it is the application for developing the software integrating method embodiment step of Android platform application
Specific flow chart after S105.The software integrating method provided by the present application applied for developing Android platform, is also wrapped
It includes:
Step S401:By it is described can the core document of sharing function that relies on of integrated software copy to the engineering root
Correspondence catalogue;The core document of the sharing function includes the library file of sharing function and the resource file of sharing function.
In the present embodiment, by it is described can the core document of sharing function that relies on of integrated software copy to the engineering root
The correspondence catalogue of catalogue includes:The library file of the sharing function is copied to the Resource TOC of the engineering root;By institute
The resource file for stating sharing function copies to the library file catalogue of the engineering root.
Step S402:The page and statement society that socialization component uses are registered in the configuration file of the application program
Change the associated authorization that component uses.
In the present embodiment, configuration file AndroidManifest.xml also includes following setting:Register socialization component
The associated authorization etc. that the page and statement socialization component used uses.For example, being integrated with the application of friendly alliance's socialization component
In program, configuration information includes:
It is provided by the present application to be used to develop the software integrating method that Android platform is applied, further include:
Step S403:The configuration file is written into the application program identification.
The software integrating method provided by the present application applied for developing Android platform, in Android platform application
When integrating third party software for the first time, it is also necessary to disposably by the configuration text of application program identification write-in Android platform application
Part enables friendly alliance's service platform to track and record the behavior that user uses the application program by the mark, thus for exploitation
Person provides real-time, comprehensive socialization data statistic analysis service.
In the present embodiment, configuration file AndroidManifest.xml includes following configuration information:
The software integrating method and device provided by the present application applied for developing Android platform passes through to obtain and apply
The engineering root of program, application program identification and receive user to can integrated software selection, and traverse each to integrated
Catalogue where software will copy to engineering root to the associated documents under integrated software catalogue, and match confidence according to preset
Breath and to integrated software title, the configuration file of application program is configured, so as to be automatically integrating user selection
Third party software reduces the integrated difficulty of software, achievees the effect that the workload for reducing developer.
In the above-described embodiment, a kind of software integrating method applied for developing Android platform is provided, therewith
Corresponding, the application also provides a kind of for developing the Integrated Simulation device of Android platform application.Fig. 5 is please referred to, is
The schematic diagram of the Integrated Simulation Installation practice for developing Android platform application of the application.Due to Installation practice base
Originally it is similar to embodiment of the method, so describing fairly simple, the relevent part can refer to the partial explaination of embodiments of method.Under
The Installation practice for stating description is only schematical.
A kind of Integrated Simulation device applied for developing Android platform of the present embodiment, including:First acquisition unit
101, for obtaining engineering root and the application program identification of application program;The application program identification refers to described using journey
The unique identification of sequence in the server;Receiving unit 103, for receive user to can integrated software selection, user is selected
Can integrated software be used as to integrated software;Traversal Unit 105, it is each described to catalogue where integrated software for traversing, it will
Associated documents under the catalogue to integrated software copy to the engineering root;And according to preset configuration information and described
To the title of integrated software, the configuration file of the application program is configured;The associated documents include at least it is described to
The JAVA archive file and/or resource file of integrated software.
Fig. 6 is please referred to, for the tool of the Integrated Simulation Installation practice for developing Android platform application of the application
Body schematic diagram.
Optionally, described device further includes:
Download unit 201, for will described in can integrated software it is locally downloading.
Optionally, described device further includes:
Display unit 202, for according to it is preset it is described can name of the integrated software list, show it is all it is described can integrate it is soft
Part.
Optionally, it is described according to it is preset it is described can name of the integrated software list, show it is all it is described can integrated software be
Refer to, judge to store it is each it is described can the catalogue of integrated software whether there is, if so, by this can integrated software be shown as optional
?;If it is not, then by this can integrated software be shown as unavailable emphasis.
Optionally, it is described can integrated software include platform software and/or component software;The platform software includes:Mail,
Short message, wechat and circle of friends, Tencent's microblogging, Sina weibo, Renren Network, QQ friends and/or QQ space;The component software packet
It includes:Comment component likes component, customer center component, shakes component and/or good friend's component.
Fig. 7 is please referred to, for time of the Integrated Simulation Installation practice for developing Android platform application of the application
Go through the specific schematic diagram of unit 105.
Optionally, the Traversal Unit 105 includes replication module unit 1051, and being used for will be described under integrated software catalogue
Associated documents copy to the engineering root, the replication module unit includes:
Subelement 10511 is obtained, for judging that storage is described to integrated software according to the title to integrated software
Catalogue whether there is;If so, obtaining the storage catalogue to integrated software;If it is not, then pushing error reporting;
First judgement duplication subelement 10512, it is described to whether include library file under integrated software catalogue for judging, if
It is that will then copy to the library file mesh of the engineering root described in the storage to the library file in the catalogue of integrated software
Record;
Second judgement duplication subelement 10513, it is described to whether include resource file under integrated software catalogue for judging,
If so, the resource mesh that the engineering root will be copied to described in the storage to the resource file in the catalogue of integrated software
Under the correspondence catalogue of record.
Optionally, the Traversal Unit 105 includes configuration subelement 1052, for according to preset configuration information and described
To the title of integrated software, the configuration file of the application program is configured, the configuration subelement includes:
Configuration information subelement 10521 is obtained, for according to preset configuration information and the title to integrated software,
Obtain the configuration information to integrated software;
Configuration information subelement 10522 is written, the application program is written for the configuration information to integrated software
Configuration file.
Optionally, the configuration information includes permission registration and/or page registration.
Optionally, described device further includes:
Replicate core document unit 203, for by it is described can integrated software rely on sharing function core document replicate
To the correspondence catalogue of the engineering root;The core document of the sharing function include sharing function library file with share function
The resource file of energy;
First write-in configuration information unit 204, for registering socialization component in the configuration file of the application program
The associated authorization that the page and statement socialization component used uses.
Optionally, the duplication core document unit 203 includes:
First duplication core subelement, for the library file of the sharing function to be copied to the money of the engineering root
Source directory;
Second duplication core subelement, for the resource file of the sharing function to be copied to the engineering root
Library file catalogue.
Optionally, described device further includes:
Second write-in configuration information unit 205, for the configuration file to be written in the application program identification.
In the present embodiment, device is write using Java language, enables a device to be adapted to each operating system.Java platform
It is to develop the basic platform of Android application, therefore ensure that the broad applicability of device.
Although the present invention is disclosed as above with preferred embodiment, it is not for limiting the present invention, any this field skill
Art personnel without departing from the spirit and scope of the present invention, can make possible variation and modification, therefore guarantor of the invention
Shield range should be subject to the range that the claims in the present invention are defined.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
1, computer-readable medium can be by any side including permanent and non-permanent, removable and non-removable media
Method or technology realize that information stores.Information can be computer readable instructions, data structure, the module of program or other numbers
According to.The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory
(SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory
(ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory techniques, CD-ROM are read-only
Memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or
Other magnetic storage devices or any other non-transmission medium, can be used for storage can be accessed by a computing device information.According to
Herein defines, and computer-readable medium does not include non-temporary computer readable media (transitory media), such as modulates
Data-signal and carrier wave.
2, it will be understood by those skilled in the art that embodiments herein can provide as the production of method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It can be used moreover, the application can be used in the computer that one or more wherein includes computer usable program code
The computer program product implemented on storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Form.
Claims (22)
1. a kind of for developing the software integrating method of Android platform application, which is characterized in that including:
Obtain engineering root and the application program identification of application program;The application program identification refers to that the application program exists
Unique identification in server;
Receive user to can integrated software selection, using user select can integrated software as to integrated software;
It traverses each described to catalogue where integrated software, the associated documents under the catalogue to integrated software is copied to described
Engineering root;And according to preset configuration information and the title to integrated software, to the configuration text of the application program
Part is configured;The associated documents include at least the JAVA archive file and/or resource file to integrated software.
2. according to claim 1 for developing the software integrating method of Android platform application, which is characterized in that
The reception user to can further include before the selection of integrated software:
Will described in can integrated software it is locally downloading.
3. according to claim 2 for developing the software integrating method of Android platform application, which is characterized in that
The reception user to can further include before the selection of integrated software:
According to it is preset it is described can name of the integrated software list, show it is all it is described can integrated software.
4. according to claim 3 for developing the software integrating method of Android platform application, which is characterized in that described
According to it is preset it is described can name of the integrated software list, show it is all it is described can integrated software refer to, judge to store each described
Can the catalogue of integrated software whether there is, if so, by this can integrated software be shown as option;If it is not, then this can be integrated
Software is shown as unavailable emphasis.
5. according to claim 1 for developing the software integrating method of Android platform application, which is characterized in that institute
State can integrated software include platform software and/or component software;The platform software includes:Mail, short message, wechat and friend
Circle, Tencent's microblogging, Sina weibo, Renren Network, QQ friends and/or QQ space;The component software includes:Comment component is liked
Component, customer center component shake component and/or good friend's component.
6. according to claim 1 for developing the software integrating method of Android platform application, which is characterized in that institute
It states and the associated documents under the catalogue to integrated software are copied into the engineering root includes:
According to the title to integrated software, judge that the storage catalogue to integrated software whether there is;If so, obtaining
The storage catalogue to integrated software;If it is not, then pushing error reporting;
Whether judgement described to include library file under integrated software catalogue, if so, by described in the storage to integrated software
Library file in catalogue copies to the library file catalogue of the engineering root;
Whether judgement described to include resource file under integrated software catalogue, if so, by described in the storage to integrated software
Catalogue in the resource file Resource TOC that copies to the engineering root correspondence catalogue under.
7. according to claim 1 for developing the software integrating method of Android platform application, which is characterized in that institute
It states according to preset configuration information and the title to integrated software, configuration packet is carried out to the configuration file of the application program
It includes:
According to preset configuration information and the title to integrated software, the configuration information to integrated software is obtained;
The configuration file of the application program is written in the configuration information to integrated software.
8. according to claim 7 for developing the software integrating method of Android platform application, which is characterized in that institute
Stating configuration information includes permission registration and/or page registration.
9. according to claim 1 for developing the software integrating method of Android platform application, which is characterized in that also
Including:
By it is described can the core document of sharing function that relies on of integrated software copy to the correspondence catalogue of the engineering root;Institute
The core document for stating sharing function includes the library file of sharing function and the resource file of sharing function;
The page and state what socialization component used that socialization component uses are registered in the configuration file of the application program
Associated authorization.
10. according to claim 9 for developing the software integrating method of Android platform application, which is characterized in that institute
State by it is described can the core document of sharing function that relies on of integrated software copy to the correspondence catalogue of the engineering root and include:
The library file of the sharing function is copied to the library file catalogue of the engineering root;
The resource file of the sharing function is copied to the Resource TOC of the engineering root.
11. according to claim 1 for developing the software integrating method of Android platform application, which is characterized in that also
Including:
The configuration file is written into the application program identification.
12. a kind of for developing the Integrated Simulation device of Android platform application, which is characterized in that including:
First acquisition unit, for obtaining engineering root and the application program identification of application program;The application program identification
Refer to the unique identification of the application program in the server;
Receiving unit, for receive user to can integrated software selection, using user select can integrated software as to integrated
Software;
Traversal Unit, it is each described to catalogue where integrated software for traversing, by the correlation under the catalogue to integrated software
File copies to the engineering root;And according to preset configuration information and the title to integrated software, answer described
It is configured with the configuration file of program;The associated documents include at least the JAVA archive file to integrated software and/
Or resource file.
13. according to claim 12 for developing the Integrated Simulation device of Android platform application, which is characterized in that
Further include:
Download unit, for will described in can integrated software it is locally downloading.
14. according to claim 13 for developing the Integrated Simulation device of Android platform application, which is characterized in that
Further include:
Display unit, for according to it is preset it is described can name of the integrated software list, show it is all it is described can integrated software.
15. according to right want 14 described in for develop Android platform application Integrated Simulation device, which is characterized in that institute
State according to it is preset it is described can name of the integrated software list, show it is all it is described can integrated software refer to, judge to store each institute
State can the catalogue of integrated software whether there is, if so, by this can integrated software be shown as option;If it is not, then this can be collected
Unavailable emphasis is shown as at software.
16. according to claim 12 for developing the Integrated Simulation device of Android platform application, which is characterized in that
It is described can integrated software include platform software and/or component software;The platform software includes:Mail, short message, wechat and friend
Circle, Tencent's microblogging, Sina weibo, Renren Network, QQ friends and/or QQ space;The component software includes:Comment component is liked
Component, customer center component shake component and/or good friend's component.
17. according to claim 12 for developing the Integrated Simulation device of Android platform application, which is characterized in that
The Traversal Unit includes replication module unit, for the associated documents under the catalogue to integrated software to be copied to the work
Journey root, the replication module unit include:
Subelement is obtained, for, to the name of the integrated software, judging whether the storage catalogue to integrated software deposits according to described
?;If so, obtaining the storage catalogue to integrated software;If it is not, then pushing error reporting;
First judgement duplication subelement, it is described to whether include library file under integrated software catalogue for judging, if so, by institute
State the storage library file catalogue that the engineering root is copied to the library file in the catalogue of integrated software;
Second judgement duplication subelement, it is described to whether include resource file under integrated software catalogue for judging, if so, will
The correspondence of the Resource TOC of the engineering root is copied to described in the storage to the resource file in the catalogue of integrated software
Under catalogue.
18. according to claim 12 for developing the Integrated Simulation device of Android platform application, which is characterized in that
The Traversal Unit includes configuration subelement, for according to preset configuration information and the title to integrated software, to institute
The configuration file for stating application program is configured, and the configuration subelement includes:
Configuration information subelement is obtained, for according to preset configuration information and the title to integrated software, described in acquisition
Configuration information to integrated software;
Configuration information subelement is written, the configuration text of the application program is written for the configuration information to integrated software
Part.
19. according to claim 18 for developing the Integrated Simulation device of Android platform application, which is characterized in that
The configuration information includes permission registration and/or page registration.
20. according to claim 12 for developing the Integrated Simulation device of Android platform application, which is characterized in that
Further include:
Replicate core document unit, for by it is described can the core document of sharing function that relies on of integrated software copy to the work
The correspondence catalogue of journey root;The core document of the sharing function includes the library file of sharing function and the resource of sharing function
File;
First write-in configuration information unit, the page used for registering socialization component in the configuration file of the application program
The associated authorization that face and statement socialization component use.
21. according to claim 8 for developing the Integrated Simulation device of Android platform application, which is characterized in that institute
Stating duplication core document unit includes:
First duplication core subelement, for the library file of the sharing function to be copied to the library file of the engineering root
Catalogue;
Second duplication core subelement, for the resource file of the sharing function to be copied to the resource of the engineering root
Catalogue.
22. according to claim 12 for developing the Integrated Simulation device of Android platform application, which is characterized in that
Further include:
Second write-in configuration information unit, for the configuration file to be written in the application program identification.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410459731.2A CN105468351B (en) | 2014-09-11 | 2014-09-11 | A kind of software integrating method and device applied for developing Android platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410459731.2A CN105468351B (en) | 2014-09-11 | 2014-09-11 | A kind of software integrating method and device applied for developing Android platform |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105468351A CN105468351A (en) | 2016-04-06 |
CN105468351B true CN105468351B (en) | 2018-11-27 |
Family
ID=55606096
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410459731.2A Active CN105468351B (en) | 2014-09-11 | 2014-09-11 | A kind of software integrating method and device applied for developing Android platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105468351B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107770208B (en) * | 2016-08-16 | 2020-11-20 | 北京神州泰岳软件股份有限公司 | Application integration method and device based on iOS platform |
CN106873966B (en) * | 2016-12-27 | 2020-09-01 | 北京五八信息技术有限公司 | Application program development method and device |
CN108334316B (en) * | 2017-01-18 | 2022-01-28 | 北京京东尚科信息技术有限公司 | Application development implementation method and device |
CN107748662A (en) * | 2017-11-17 | 2018-03-02 | 深圳市泉眼网络科技有限公司 | Application development method, terminal and computer-readable recording medium |
CN111882293A (en) * | 2020-07-06 | 2020-11-03 | 珠海格力电器股份有限公司 | Application software checking method and device, computer equipment and storage medium |
CN112052037A (en) * | 2020-09-07 | 2020-12-08 | 北京达佳互联信息技术有限公司 | Application software development method, device, equipment and medium |
CN113259417B (en) * | 2021-04-21 | 2023-05-05 | 北京仁科互动网络技术有限公司 | Software integration method, device, equipment and storage medium in SaaS mode |
CN113660533A (en) * | 2021-07-16 | 2021-11-16 | 广州虎牙科技有限公司 | Live broadcast data statistical method, electronic equipment and computer readable device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101042645A (en) * | 2007-01-17 | 2007-09-26 | 北京立通无限科技有限公司 | Method, equipment and system for unionize software development environment |
CN102722370A (en) * | 2012-05-24 | 2012-10-10 | 南京华设科技股份有限公司 | Modular development method for Android |
CN103136007A (en) * | 2011-11-29 | 2013-06-05 | 东莞市网大网络科技有限公司 | Generation method of cloud computing system installation package |
CN103186380A (en) * | 2011-12-31 | 2013-07-03 | 北大方正集团有限公司 | Development method and device for APK (Android PacKage) |
CN103336707A (en) * | 2013-07-10 | 2013-10-02 | 深圳市开立科技有限公司 | Method and device for operating standard program C under Android system |
-
2014
- 2014-09-11 CN CN201410459731.2A patent/CN105468351B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101042645A (en) * | 2007-01-17 | 2007-09-26 | 北京立通无限科技有限公司 | Method, equipment and system for unionize software development environment |
CN103136007A (en) * | 2011-11-29 | 2013-06-05 | 东莞市网大网络科技有限公司 | Generation method of cloud computing system installation package |
CN103186380A (en) * | 2011-12-31 | 2013-07-03 | 北大方正集团有限公司 | Development method and device for APK (Android PacKage) |
CN102722370A (en) * | 2012-05-24 | 2012-10-10 | 南京华设科技股份有限公司 | Modular development method for Android |
CN103336707A (en) * | 2013-07-10 | 2013-10-02 | 深圳市开立科技有限公司 | Method and device for operating standard program C under Android system |
Also Published As
Publication number | Publication date |
---|---|
CN105468351A (en) | 2016-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105468351B (en) | A kind of software integrating method and device applied for developing Android platform | |
US7949569B2 (en) | Distributed device information management system as a distributed information repository system | |
CN111782300B (en) | Data processing method, device, equipment and system | |
US10686821B2 (en) | Analysis of mobile applications | |
CN107844518B (en) | Method for evaluating download quantity of specified APP, data server, packaging platform and system | |
Corradini et al. | Automated black‐box testing of nominal and error scenarios in RESTful APIs | |
CN110022315A (en) | Weight management method, device and equipment in a kind of piece of chain type account book | |
CN109901816A (en) | Co-development method, terminal, medium and the system of protection copyright based on container | |
Alhamed et al. | Comparing privacy control methods for smartphone platforms | |
CN111200587A (en) | SDK construction method and system for software defined boundary function | |
US11928051B2 (en) | Test space sampling for model-based biased random system test through rest API | |
Guthrie et al. | Building Cloud Apps with Microsoft Azure: Best practices for DevOps, data storage, high availability, and more | |
Dirksen | SOA Governance in Action: Rest and WS-* Architectures | |
Sreeram | Azure Serverless Computing Cookbook: Build and monitor Azure applications hosted on serverless architecture using Azure functions | |
Grumuldis | Evaluation of “Serverless” Application Programming Model: How and when to start Serverles | |
US11652652B2 (en) | Function as a service console for an online application exchange platform | |
CN117241276B (en) | Detection tool, detection method, detection system and detection equipment for mobile application | |
Cooper | Mastering ArcGIS Enterprise Administration: Install, configure, and manage ArcGIS Enterprise to publish, optimize, and secure GIS services | |
Parviainen | Real-time Web application development using Vert. x 2.0 | |
US20240134678A1 (en) | Systems and methods for development and deployment of cloud services | |
Enriquez et al. | Software Architecture with Spring 5.0: Design and architect highly scalable, robust, and high-performance Java applications | |
Pistoia et al. | Integrating security, analytics and application management into the mobile development lifecycle | |
CN107766347A (en) | A kind of Android mobile phone Dropbox design of Sina's open platform | |
Freato et al. | Mastering Cloud Development using Microsoft Azure | |
Mall et al. | Mobilizing your Enterprise with SAP |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |