CN108021389A - The method and device of ARouter is introduced in a kind of Android - Google Patents
The method and device of ARouter is introduced in a kind of Android Download PDFInfo
- Publication number
- CN108021389A CN108021389A CN201711130180.5A CN201711130180A CN108021389A CN 108021389 A CN108021389 A CN 108021389A CN 201711130180 A CN201711130180 A CN 201711130180A CN 108021389 A CN108021389 A CN 108021389A
- Authority
- CN
- China
- Prior art keywords
- arouter
- configuration file
- component
- version
- variable
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Debugging And Monitoring (AREA)
Abstract
The present invention provides the method and device that ARouter is introduced in a kind of Android, the described method includes:S1, creates the first configuration file, and variable is gathered defined in first configuration file, and the set variable is global variable, the first version number of ARouter Core Features and the second edition number of ARouter resolvers defined in the set variable;S2, according to the first version number and the second edition number, generation introduces the version information of the ARouter;S3, when component is created, injects the version information in the second configuration file of the component.The version number that one aspect of the present invention realizes the Arouter introduced to all component carries out unified upgrading and management, easy to safeguard;On the other hand realize the version number that ARouter is automatically configured in building component, improve development efficiency and the accuracy of configuration.
Description
Technical field
The invention belongs to application and development field, more particularly, to a kind of method that ARouter is introduced in Android and
Device.
Background technology
During the Module Development Method of Android, communicate in order to facilitate between various components, it usually needs introduce
Third party increases income communications framework ARouter.
When adding new component every time, in order to enable new component to be communicated with other assemblies, it is necessary in new group
The relevant information of ARouter is configured in part, so as to fulfill the introducing to ARouter.When a component needs to introduce
, it is necessary to match somebody with somebody in the compilation script build.gradle files of the component to the relevant information of ARouter during ARouter
Put.Traditional mode is directly introduced the relevant information of ARouter, such as compile " com.alibaba:arouter-
api:2.2.2 ", compile " com.alibaba:arouter-compiler:1.2.2 ", wherein 2.2.2 is ARouter cores
The version number of function, 1.2.2 are the version number of ARouter resolvers.
Since the character string comparison for configuring ARouter is cumbersome, easily go out to New Parent configure in a manual fashion
Mistake, and it is time-consuming and laborious.When the version number of ARouter changes, it is necessary to the compiling foot of all component in introducing ARouter
The version number of ARouter is changed in this, consumes the plenty of time.
The content of the invention
For overcome it is above-mentioned manually in assembly introduce ARouter easily malfunction, it is time-consuming and laborious and be not easy to change the problem of
Or solve the above problems at least in part, the present invention provides the method and device that ARouter is introduced in a kind of Android.
According to the first aspect of the invention, there is provided a kind of method that ARouter is introduced in Android, including:
S1, creates the first configuration file, variable is gathered defined in first configuration file, the set variable is complete
Office's variable, the first version number of ARouter Core Features and the second edition of ARouter resolvers defined in the set variable
This number;
S2, according to the first version number and the second edition number, generation introduces the version information of the ARouter;
S3, when component is created, injects the version information in the second configuration file of the component.
Specifically, the step S2 is specifically included:
Add $ symbols respectively before the variable of the first version number and the variable of the second edition number, generation introduces
The version information of the ARouter.
Specifically, the step S3 is specifically included:
S31, uses register function registration monitors;
S32, when listening to component using the monitor and being created, adjusts back building component method;
S33, using the building component method, injects the version information in the second configuration file of the component.
Specifically, the step S33 is specifically included:
S331, obtains the second configuration file of the component, each row data being successively read in second configuration file,
Until reading " dependencies " character string;
S332, the version information is inserted into the next line that " dependencies " character string is expert at.
Specifically, the step S331 is specifically included:
S3311, opens second configuration file using the open methods in File classes, returns to second configuration file
File object;
S3312, calls each row data in readLine methods reading second configuration file of the file object,
Until reading " dependencies " character string.
Specifically, the step S3312 is specifically included:
S33121, calls the readLine methods of the file object to read in second configuration file in current line
Data;
S33122, if " dependencies " character string is not present in the current line, file vernier is moved to down
The beginning of a line;
S33123, performs step S33121 to S33123, until reading using the next line as current row iteration
" dependencies " character string.
Specifically, the step S332 includes:
File vernier is moved to the next line that " dependencies " character string is expert at using seek methods;
The version information is written in second configuration file using write method;
Using flush methods, second configuration file is refreshed.
Specifically, further included after the step S3:
The value of first version number in the set variable and/or the value of the second edition number are modified.
According to the second aspect of the invention, there is provided the device of ARouter is introduced in a kind of Android, including:
Creating unit, for creating the first configuration file, gathers variable, the collection defined in first configuration file
Conjunction variable is global variable, and the first version number of ARouter Core Features and ARouter are parsed defined in the set variable
The second edition number of device;
Generation unit, for introducing the ARouter's according to the first version number and the second edition number, generation
Version information;
Injection unit, for when component is created, injecting the version letter in the second configuration file of the component
Breath.
According to the third aspect of the invention we, there is provided a kind of non-transient computer readable storage medium storing program for executing, for storing such as preceding institute
State the computer program of method.
The present invention provides the method and device that ARouter is introduced in a kind of Android, this method on the one hand pass through by
The first version number of the Core Feature of ARouter and the second edition number of resolver are placed in a global set variable, are kept away
Exempt to bear the same name, when the version number of the version of ARouter changes, only with the set variable is changed, realize to all groups
The version number for the Arouter that part introduces carries out unified upgrading and management, easy to safeguard, on the other hand according to the set variable life
Into the version information for introducing the ARouter, injected automatically in the second configuration file of the component when component is created
The version information, realizes the version number that ARouter is automatically configured in building component, improves development efficiency and the standard of configuration
True property.
Brief description of the drawings
Fig. 1 is the method overall flow schematic diagram that ARouter is introduced in Android provided in an embodiment of the present invention;
Fig. 2 is the device overall structure diagram that ARouter is introduced in Android provided in an embodiment of the present invention;
Fig. 3 is the equipment overall structure schematic diagram that ARouter is introduced in Android provided in an embodiment of the present invention.
Embodiment
With reference to the accompanying drawings and examples, the embodiment of the present invention is described in further detail.Implement below
Example is used to illustrate the present invention, but is not limited to the scope of the present invention.
A kind of method that ARouter is introduced in Android is provided in one embodiment of the invention, and Fig. 1 is the present invention
The method overall flow schematic diagram of ARouter is introduced in the Android that embodiment provides, this method includes:S1, creates first and matches somebody with somebody
File is put, variable is gathered defined in first configuration file, the set variable is global variable, in the set variable
Defined in ARouter Core Features first version number and ARouter resolvers the second edition number;S2, according to described first
Version number and the second edition number, generation introduce the version information of the ARouter;S3, when component is created, described
The version information is injected in second configuration file of component.
Specifically, in S1, the version number of ARouter is needed when ARouter is introduced.It is same more in order to facilitate the later stage
The version information of Arouter, an independent overall situation is defined on by the version number of Arouter in the configuration file of new all component
In variable, so that the version number of the introduced Arouter of all component is identical, facilitate what the later stage introduced all component
The version number of Arouter carries out unified upgrading and management.The version number of Arouter includes the first of the Core Feature of ARouter
The second edition number of the resolver of version number and ARouter.First configuration file is config.gradle configuration files.
Addition defines the code of the set variable in first configuration file, such as:
Wherein, ext is the set variable of definition, then the of the Core Feature of ARouter defined in ext set variables
One version number and the second edition number of resolver.ARouterAPi is the variable of the first version number, and 2.2.2 is described first
The value of version number, ArouterProcess are the variable of the second edition number, and 1.2.2 is the value of the first version number.
The first version number of ARouter is defined by the Core Feature storehouse of ARouter, and the second edition number is defined by resolver storehouse.By with
The first version number and the second edition number are put to configure ARouter.In S2, when the ARouter's for having defined the overall situation
After version number, according to the first version number and the second edition number, generation introduces the version information of the ARouter, institute
It is the configuration sentence comprising the first version number He the second edition number to state version information.In S3, when having captured component
When being created, the version information is injected in the second configuration file of the component.Second configuration file is
Build.gradle script files.So as to fulfill the version number that ARouter is automatically injected in newly-built component.
The present embodiment is on the one hand by by the second edition number of the first version number of the Core Feature of ARouter He resolver
It is placed in a global set variable, avoids bearing the same name, when the version number of the version of ARouter changes, only with change
The set variable, the version number for realizing the Arouter introduced to all component carries out unified upgrading and management, easy to tie up
Shield, the version information of the ARouter is on the other hand introduced according to the set variable generation, is existed automatically when component is created
The version information is injected in second configuration file of the component, realizes the version that ARouter is automatically configured in building component
This number, improve development efficiency and the accuracy of configuration.
On the basis of above-described embodiment, step S2 described in the present embodiment specifically includes:In the first version number
$ symbols are added before variable and the variable of the second edition number respectively, generation introduces the version information of the ARouter.
Specifically, after the first version number of ARouter and the second edition number is defined, in the change of the first version number
$ symbols are added before the variable of amount and the second edition number respectively, generation introduces the version information of the ARouter, such as:
compile"com.alibaba:arouter-api:$ { ext.ARouterAPi } ",
compile"com.alibaba:arouter-compiler:${ext.ARouterProcess}";
The prior art is contrasted it can be found that the present embodiment is by the value of the first version number of ARouter in the prior art and the
The value of two version numbers replaces with $ { ext.ARouterAPi } and $ { ext.ARouterProcess }, meets introducing definition using $
The first version number and the second edition number value so that all component all introduces identical ARouter version numbers,
Unified management is carried out to the version number of ARouter easy to the later stage.
On the basis of the various embodiments described above, step S3 described in the present embodiment specifically includes:S31, uses register
Function registration monitor;S32, when listening to component using the monitor and being created, adjusts back building component method;S33, makes
With the building component method, the version information is injected in the second configuration file of the component.
Specifically, the version number of Arouter is automatically introduced into order to realize, uses regiser (onModelCreated) letter
Number registration monitor, the monitor are used for the establishment of listening components, and onModelCreated is building component method.Use
After regiser function registrations, building component method onModelCreated is adjusted back when having listened to component and being created.Described
Automatically the version information of generation is injected in building component method onModelCreated in the second configuration file of the component,
Second configuration file is build.gradle script files.
On the basis of above-described embodiment, step S33 described in the present embodiment specifically includes:S331, obtains the component
The second configuration file, each row data being successively read in second configuration file, until reading " dependencies "
Character string;S332, the version information is inserted into the next line that " dependencies " character string is expert at.
Specifically, the second configuration file of the component newly created, the first line number from second configuration file are obtained
According to starting to read data line by line in order, when reading " dependencies " character string, stop reading described the
Two configuration files.The version information of generation is inserted into the next line that " dependencies " character string is expert at, such as new
The component created is inserted into compile " com.alibaba in build.gradl script files:arouter-api:$
{ ext.ARouterAPi } " and compile " com.alibaba:arouter-compiler:$
{ ext.ARouterProcess } ", so as to introduce the version information of Arouter.
On the basis of above-described embodiment, step S331 described in the present embodiment specifically includes:S3311, uses File classes
In open methods open second configuration file, return to the file object of second configuration file;S3312, calls institute
Each row data in readLine methods reading second configuration file of file object are stated, until reading
" dependencies " character string.
Specifically, second configuration file is opened using the open methods in File classes, returns to the second configuration text
The file object file of part, calls the readLine methods in the file object file sequentially to read line by line
Each row data in second configuration file, stop reading after " dependencies " character string is read.
On the basis of above-described embodiment, step S3312 described in the present embodiment specifically includes:S33121, described in calling
The readLine methods of file object read the data in current line in second configuration file;S33122, if using
Contains methods, which are known, is not present " dependencies " character string in the current line, then is moved to file vernier next
Capable beginning;S33123, performs step S33121 to S33123, until reading using the next line as current row iteration
" dependencies " character string.
In above-described embodiment, the step S332 includes:File vernier is moved to using seek methods
The next line that " dependencies " character string is expert at;The version information is written to described second using write method
In configuration file;Using flush methods, second configuration file is refreshed.
On the basis of above-described embodiment, further included after step S3 described in the present embodiment:To in the set variable
The value of first version number and/or the value of the second edition number are modified.
Specifically, the version information of ARouter all relies on the described of definition in the second configuration file of component
Gather the first version number and the second edition number of Arouter in variable.When needing to upgrade Arouter, it is only necessary to more
Change the first version number and/or the second edition number of Arouter in the set variable, so as to fulfill introduced to all component
The version of ARouter has carried out unified upgrading, saves the time.
The device that ARouter is introduced in a kind of Android is provided in another embodiment of the present invention, and Fig. 2 is this hair
The device overall structure diagram of ARouter is introduced in the Android that bright embodiment provides, which includes creating unit 1, life
Into unit 2 and injection unit 3, wherein:
The creating unit 1 is used to create the first configuration file, gathers variable defined in first configuration file, institute
It is global variable to state set variable, the first version number and ARouter of ARouter Core Features defined in the set variable
The second edition number of resolver;The generation unit 2 is used to be drawn according to the first version number and the second edition number, generation
Enter the version information of the ARouter;The injection unit 3 is used for when component is created, in the second configuration of the component
The version information is injected in file.
Specifically, the version number of ARouter is needed when ARouter is introduced.In order to facilitate later stage same renewal institute
There is the version information of Arouter in the configuration file of component, the version number of Arouter is defined on one by the creating unit 1
In independent global variable, so that the version number of the introduced Arouter of all component is identical, facilitate the later stage to all groups
The version number for the Arouter that part introduces carries out unified upgrading and management.The version number of Arouter includes the core work(of ARouter
The second edition number of the first version number of energy and the resolver of ARouter.First configuration file is matched somebody with somebody for config.gradle
Put file.The first version number of ARouter is defined by the Core Feature storehouse of ARouter, and the second edition number is defined by resolver storehouse.
By configuring the first version number and the second edition number to configure ARouter.When the ARouter's for having defined the overall situation
After version number, the generation unit 2 introduces the ARouter according to the first version number and the second edition number, generation
Version information, the version information is the configuration sentence comprising the first version number He the second edition number.Work as seizure
To when having component to be created, the injection unit 3 injects the version information in the second configuration file of the component.It is described
Second configuration file is build.gradle script files.So as to fulfill the version that ARouter is automatically injected in newly-built component
Number.
The present embodiment is on the one hand by by the second edition number of the first version number of the Core Feature of ARouter He resolver
It is placed in a global set variable, avoids bearing the same name, when the version number of the version of ARouter changes, only with change
The set variable, the version number for realizing the Arouter introduced to all component carries out unified upgrading and management, easy to tie up
Shield, the version information of the ARouter is on the other hand introduced according to the set variable generation, is existed automatically when component is created
The version information is injected in second configuration file of the component, realizes the version that ARouter is automatically configured in building component
This number, improve development efficiency and the accuracy of configuration.
On the basis of above-described embodiment, generation unit described in the present embodiment is specifically used in the first version number
$ symbols are added before variable and the variable of the second edition number respectively, generation introduces the version information of the ARouter.
On the basis of the various embodiments described above, injection unit includes described in the present embodiment:Subelement is registered, for using
Register function registration monitors;Subelement is adjusted back, for when listening to component using the monitor and being created, readjustment
Building component method;Subelement is injected, for using the building component method, is noted in the second configuration file of the component
Enter the version information.
Injecting subelement on the basis of above-described embodiment, described in the present embodiment includes:Subelement is read, for obtaining
Second configuration file of the component, each row data being successively read in second configuration file, until reading
" dependencies " character string;Subelement is inserted into, for the next line insertion being expert in " dependencies " character string
The version information.
Reading subelement on the basis of above-described embodiment, described in the present embodiment includes:Subelement is opened, for using
Open methods in File classes open second configuration file, return to the file object of second configuration file;Call son
Unit, the readLine methods for calling the file object read each row data in second configuration file, until
Read " dependencies " character string.
On the basis of above-described embodiment, subelement is called to be specifically used for described in the present embodiment:Call the file pair
The readLine methods of elephant read the data in current line in second configuration file;If it is not present in the current line
File vernier, then is moved to the beginning of next line by " dependencies " character string;The next line is changed as current line
The above-mentioned reading data of substitute performance, the step of judging and being moved to next line, until reading " dependencies " character string.
Subelement is inserted on the basis of above-described embodiment, described in the present embodiment to be specifically used for:Will using seek methods
File vernier is moved to the next line that " dependencies " character string is expert at;Using write method by the version information
It is written in second configuration file;Using flush methods, second configuration file is refreshed.
On the basis of above-described embodiment, device further includes upgrade unit described in the present embodiment, for the set
The value of first version number and/or the value of the second edition number are modified in variable.
A kind of equipment the present embodiment provides ARouter is introduced in Android, Fig. 3 are provided in an embodiment of the present invention
The equipment overall structure schematic diagram of ARouter is introduced in Android, which includes:It is at least one processor 31, at least one
Memory 32 and bus 33;Wherein,
The processor 31 and memory 32 complete mutual communication by the bus 33;
The memory 32 is stored with the programmed instruction that can be performed by the processor 31, and the processor calls the journey
Sequence instruction is able to carry out the method that above-mentioned each method embodiment is provided, such as including:S1, creates the first configuration file, in institute
State and gather variable defined in the first configuration file, the set variable is global variable, defined in the set variable
The first version number of ARouter Core Features and the second edition number of ARouter resolvers;S2, according to the first version number
With the second edition number, generation introduces the version information of the ARouter;S3, when component is created, in the component
The version information is injected in second configuration file.
The present embodiment provides a kind of non-transient computer readable storage medium storing program for executing, the non-transient computer readable storage medium storing program for executing
Computer instruction is stored, the computer instruction makes the computer perform the method that above-mentioned each method embodiment is provided, example
Such as include:S1, creates the first configuration file, variable is gathered defined in first configuration file, the set variable is complete
Office's variable, the first version number of ARouter Core Features and the second edition of ARouter resolvers defined in the set variable
This number;S2, according to the first version number and the second edition number, generation introduces the version information of the ARouter;S3,
When component is created, the version information is injected in the second configuration file of the component.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
The relevant hardware of programmed instruction is completed, and foregoing program can be stored in a computer read/write memory medium, the program
Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
It is only schematical that the apparatus embodiments of ARouter are introduced in Android described above, wherein the work
The unit illustrated for separating component may or may not be physically separate, can be as the component that unit is shown
Or it may not be physical location, you can with positioned at a place, or can also be distributed in multiple network unit.Can be with
Some or all of module therein is selected to realize the purpose of this embodiment scheme according to the actual needs.The common skill in this area
Art personnel are not in the case where paying performing creative labour, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
Realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Based on such understanding, on
The part that technical solution substantially in other words contributes to the prior art is stated to embody in the form of software product, should
Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some fingers
Order is used so that a computer equipment (can be personal computer, server, or network equipment etc.) performs each implementation
Method described in some parts of example or embodiment.
Finally, the present processes are only preferable embodiment, are not intended to limit the scope of the present invention.It is all
Within the spirit and principles in the present invention, any modification, equivalent replacement, improvement and so on, should be included in the protection of the present invention
Within the scope of.
Claims (10)
1. the method for ARouter is introduced in a kind of Android, it is characterised in that including:
S1, creates the first configuration file, and variable is gathered defined in first configuration file, and the set variable becomes to be global
Amount, the first version number of ARouter Core Features and the second edition of ARouter resolvers defined in the set variable
Number;
S2, according to the first version number and the second edition number, generation introduces the version information of the ARouter;
S3, when component is created, injects the version information in the second configuration file of the component.
2. according to the method described in claim 1, it is characterized in that, the step S2 is specifically included:
Add $ symbols respectively before the variable of the first version number and the variable of the second edition number, generate described in introducing
The version information of ARouter.
3. according to the method described in claim 1, it is characterized in that, the step S3 is specifically included:
S31, uses register function registration monitors;
S32, when listening to component using the monitor and being created, adjusts back building component method;
S33, using the building component method, injects the version information in the second configuration file of the component.
4. according to the method described in claim 3, it is characterized in that, the step S33 is specifically included:
S331, obtains the second configuration file of the component, each row data being successively read in second configuration file, until
Read " dependencies " character string;
S332, the version information is inserted into the next line that " dependencies " character string is expert at.
5. according to the method described in claim 4, it is characterized in that, the step S331 is specifically included:
S3311, opens second configuration file using the open methods in File classes, returns to the text of second configuration file
Part object;
S3312, calls each row data in readLine methods reading second configuration file of the file object, until
Read " dependencies " character string.
6. according to the method described in claim 5, it is characterized in that, the step S3312 is specifically included:
S33121, calls the number in current line in readLine methods reading second configuration file of the file object
According to;
S33122, if " dependencies " character string is not present in the current line, next line is moved to by file vernier
Beginning;
S33123, performs step S33121 to S33123, until reading using the next line as current row iteration
" dependencies " character string.
7. according to the method described in claim 4, it is characterized in that, the step S332 includes:
File vernier is moved to the next line that " dependencies " character string is expert at using seek methods;
The version information is written in second configuration file using write method;
Using flush methods, second configuration file is refreshed.
8. according to any methods of claim 1-7, it is characterised in that further included after the step S3:
The value of first version number in the set variable and/or the value of the second edition number are modified.
9. the device of ARouter is introduced in a kind of Android, it is characterised in that including:
Creating unit, for creating the first configuration file, gathers variable, the set becomes defined in first configuration file
Measure as global variable, the first version number and ARouter resolvers of the ARouter Core Features defined in the set variable
The second edition number;
Generation unit, for introducing the version of the ARouter according to the first version number and the second edition number, generation
Information;
Injection unit, for when component is created, injecting the version information in the second configuration file of the component.
10. a kind of non-transient computer readable storage medium storing program for executing, it is characterised in that the non-transient computer readable storage medium storing program for executing is deposited
Computer instruction is stored up, the computer instruction makes the computer perform the method as described in claim 1 to 8 is any.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711130180.5A CN108021389B (en) | 2017-11-15 | 2017-11-15 | Method and device for introducing ARouter into Android |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711130180.5A CN108021389B (en) | 2017-11-15 | 2017-11-15 | Method and device for introducing ARouter into Android |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108021389A true CN108021389A (en) | 2018-05-11 |
CN108021389B CN108021389B (en) | 2021-01-01 |
Family
ID=62080631
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711130180.5A Active CN108021389B (en) | 2017-11-15 | 2017-11-15 | Method and device for introducing ARouter into Android |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108021389B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109189490A (en) * | 2018-07-03 | 2019-01-11 | 武汉斗鱼网络科技有限公司 | A kind of configuration method and relevant device of module |
CN112256324A (en) * | 2020-12-08 | 2021-01-22 | 智道网联科技(北京)有限公司 | Method and device for processing files in android application program construction process |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120144379A1 (en) * | 2010-12-07 | 2012-06-07 | Hon Hai Precision Industry Co., Ltd. | System and method for updadting software |
CN102880456A (en) * | 2012-07-31 | 2013-01-16 | 北京奇虎科技有限公司 | Method and device for creating plug-in |
CN105988995A (en) * | 2015-01-27 | 2016-10-05 | 杭州海康威视数字技术股份有限公司 | HFile based data batch loading method |
-
2017
- 2017-11-15 CN CN201711130180.5A patent/CN108021389B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120144379A1 (en) * | 2010-12-07 | 2012-06-07 | Hon Hai Precision Industry Co., Ltd. | System and method for updadting software |
CN102880456A (en) * | 2012-07-31 | 2013-01-16 | 北京奇虎科技有限公司 | Method and device for creating plug-in |
CN105988995A (en) * | 2015-01-27 | 2016-10-05 | 杭州海康威视数字技术股份有限公司 | HFile based data batch loading method |
Non-Patent Citations (4)
Title |
---|
GAO_CHUN: "Android Studio中统一管理版本号引用配置", 《CSDN博客 HTTPS://BLOG.CSDN.NET/GAO_CHUN/ARTICLE/DETAILS/58105089》 * |
LINEAR_LI: ""Eventbus3.0使用及其原理浅析", 《简书博客 HTTPS://WWW.JIANSHU.COM/P/C940BE56ABA0》 * |
MR_ZHANG0101: "[Alibaba-ARouter]简单好用的Android页面路由框架", 《CSDN博客 HTTPS://BLOG.CSDN.NET/MR_ZHANG0101/ARTICLE/DETAILS/77651103》 * |
繁华落尽666: "浅谈android组件化之ARouter简单使用", 《脚本之家 HTTPS://WWW.JB51.NET/ARTICLE/123776.HTM 》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109189490A (en) * | 2018-07-03 | 2019-01-11 | 武汉斗鱼网络科技有限公司 | A kind of configuration method and relevant device of module |
CN112256324A (en) * | 2020-12-08 | 2021-01-22 | 智道网联科技(北京)有限公司 | Method and device for processing files in android application program construction process |
Also Published As
Publication number | Publication date |
---|---|
CN108021389B (en) | 2021-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20240045850A1 (en) | Systems and methods for database orientation transformation | |
US8910113B2 (en) | Methods and systems for visual code refactoring | |
CN111897570B (en) | Multi-dependency item file extraction method and device based on Maven plug-in | |
CN106909510A (en) | A kind of method and server for obtaining test case | |
CN104679532B (en) | kernel module loading method and device | |
CN107239392B (en) | Test method, test device, test terminal and storage medium | |
US20090197645A1 (en) | Test case automatic generation method for testing proactive gsm application on sim cards | |
CN106293664A (en) | Code generating method and device | |
CN110737594B (en) | Database standard conformance testing method and device for automatically generating test cases | |
CN108388515A (en) | Test data generating method, device, equipment and computer readable storage medium | |
CN107766431B (en) | Parameterization removing function method and system based on grammar parsing | |
US20210365258A1 (en) | Method and system for updating legacy software | |
CN101980546B (en) | Intelligent network platform, service execution method and method for analyzing service abnormality | |
CN108021389A (en) | The method and device of ARouter is introduced in a kind of Android | |
CN109960538A (en) | A kind of configuration interface management method, configuration interface managing device and electronic equipment | |
CN107330014A (en) | The creation method and equipment of a kind of tables of data | |
CN106339249B (en) | Dynamic configuration programmed method | |
CN107678741A (en) | Implementation method, device, readable storage medium storing program for executing and the equipment of List View | |
CN108255467A (en) | The method, apparatus and system of service are performed according to workflow sequence | |
CN111435312A (en) | Application program management method and device and electronic equipment | |
CN113031944B (en) | Business opening device and method based on template | |
CN107544813A (en) | A kind of switching method and system of static library configuration | |
CN112069052A (en) | Abnormal object detection method, device, equipment and storage medium | |
CN106778301A (en) | Reliable cross-platform data storage method and system based on cocos2d x | |
CN115878112A (en) | Multi-party complex business agreement intelligent contract generating system and generating method thereof |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |