CN105159788B - Method and system for dynamically sharing resources between Android applications - Google Patents

Method and system for dynamically sharing resources between Android applications Download PDF

Info

Publication number
CN105159788B
CN105159788B CN201510576328.2A CN201510576328A CN105159788B CN 105159788 B CN105159788 B CN 105159788B CN 201510576328 A CN201510576328 A CN 201510576328A CN 105159788 B CN105159788 B CN 105159788B
Authority
CN
China
Prior art keywords
resource
application
library
resource library
shared
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
Application number
CN201510576328.2A
Other languages
Chinese (zh)
Other versions
CN105159788A (en
Inventor
田静
康辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Technology Group Co Ltd
Original Assignee
TCL Technology Group Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by TCL Technology Group Co Ltd filed Critical TCL Technology Group Co Ltd
Priority to CN201510576328.2A priority Critical patent/CN105159788B/en
Publication of CN105159788A publication Critical patent/CN105159788A/en
Application granted granted Critical
Publication of CN105159788B publication Critical patent/CN105159788B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method and a system for dynamically sharing resources between Android applications, wherein the method comprises the following steps: presetting shared resources added in the resource library application, declaring the shared resources, defining a library name when the resource library application is externally referred, and increasing a compiling option for configuring the resource library application; the client application declares a library name of the resource library application and declares that the resource library application is used as a user library; adding a compiling option to the client application, exporting and quoting shared resources of the resource library application, and loading and using the shared resources during running; and when the shared resources in the resource library application are detected to be updated, recompiling and restarting the loaded resource library application, and displaying the updated shared resources by the client application. The invention can see the quote of the resource in the resource library application when the client application is operated, and when the resource is updated, the client displays the updated resource only by changing the related file of the resource library application, thereby realizing the dynamic resource sharing between the applications.

Description

Method and system for dynamically sharing resources between Android applications
Technical Field
The invention relates to the technical field of communication, in particular to a method and a system for dynamically sharing resources between Android applications.
Background
Android is a Linux-based operating system with free and open source codes, which is mainly used in mobile devices such as smart phones and tablet computers, and is led and developed by Google corporation and the open mobile alliance. The Android operating system was originally developed by Andy Rubin, mainly supporting mobile phones. Android is now gradually expanding to tablet computers and other fields, such as televisions, digital cameras, game machines, and the like. The existing Android application cannot realize resource sharing, for example, data such as pictures and texts in QQ software of the Android application cannot be shared by another Android application such as a microblog.
Thus, the prior art is in need of improvement and advancement.
Disclosure of Invention
In view of the defects of the prior art, the invention aims to provide a method and a system for dynamically sharing resources among Android applications, and aims to overcome the defect that resources among Android applications cannot be shared in the prior art.
The technical scheme of the invention is as follows:
a method for dynamically sharing resources among Android applications comprises the following steps:
A. presetting shared resources added in the resource library application, declaring the shared resources, defining a library name when the resource library application is externally referred, and increasing a compiling option for configuring the resource library application;
B. the client application declares a library name of the resource library application and declares that the resource library application is used as a user library;
C. adding a compiling option to the client application, exporting and quoting shared resources of the resource library application, and loading and using the shared resources during running;
D. and when the shared resources in the resource library application are detected to be updated, recompiling the resource library application and restarting the loaded resource library application, keeping the reference relation unchanged by the client application, and displaying the updated shared resources.
The method for dynamically sharing resources among Android applications comprises the following specific steps:
a1, presetting resource content of a resource library application for adding open shared resources;
a2, declaring the name, the type and the corresponding fixed ID value of the shared resource in the first specific file in advance;
a3, defining the library name of the resource library application when the resource library application is externally referred in a second specific file in advance;
and A4, adding a compiling option for configuring the resource library application in advance.
The method for dynamically sharing resources among Android applications, wherein the step B specifically comprises the following steps:
b1, declaring the resource library application name in the logic code, the resource file or the configuration file by the client application;
b2, the client application declares the resource library application to be used as a user library in the configuration manifest file.
The method for dynamically sharing resources among Android applications, wherein the step D specifically includes:
d1, when detecting that the shared resource in the resource library application is updated, recompiling the resource library application, obtaining the updated resource library, and restarting and loading the resource library application;
d2, the client application keeps the original reference relation unchanged, and the updated shared resource is displayed.
The method for dynamically sharing resources among Android applications, wherein the step C further comprises:
c1, when multiple client applications share the same resource pool shared resource, multiple clients declare the name and content of the referenced resource pool;
and C2, adding compiling options by the client application respectively, exporting and quoting shared resources of the resource library application respectively, and loading and using the shared resources respectively during running.
A system for dynamically sharing resources among Android applications is provided, wherein the system comprises:
the system comprises a presetting module, a resource library application and a configuration module, wherein the presetting module is used for presetting shared resources added in the resource library application, declaring the shared resources, defining the library name when the resource library application is externally referred, and increasing the compiling options for configuring the resource library application;
the declaration module is used for declaring the library name of the resource library application by the client application and declaring that the resource library application is used as a user library;
the shared resource export module is used for adding compiling options for the client application, exporting and quoting shared resources applied by the resource library, and loading and using the shared resources during running;
and the updating module is used for recompiling the resource library application and restarting the loading resource library application after detecting that the shared resources in the resource library application are updated, and the client application keeps the reference relation unchanged and displays the updated shared resources.
The system for dynamically sharing resources among Android applications comprises a preset module and a resource sharing module, wherein the preset module specifically comprises:
the preset unit is used for presetting the resource content of the resource library application for adding the open shared resource;
the device comprises a pre-declaring unit, a resource sharing unit and a resource sharing unit, wherein the pre-declaring unit is used for declaring the name and the type of a shared resource and a corresponding fixed ID value in a first specific file in advance;
the pre-definition unit is used for defining the library name of the resource library application for external reference in a second specific file in advance;
and the pre-adding unit is used for pre-adding compiling options for configuring the resource library application.
The system for dynamically sharing resources among Android applications comprises a declaration module and a resource sharing module, wherein the declaration module specifically comprises:
the resource library name declaration unit is used for declaring the application name of the resource library in the logic code, the resource file or the configuration file by the client;
and the user library declaration unit is used for declaring that the resource library application is used as a user library in the configuration list file by the user side.
The system for dynamically sharing resources among Android applications comprises an updating module, a resource sharing module and a resource sharing module, wherein the updating module specifically comprises:
the detecting and acquiring unit is used for recompiling the resource library application after detecting that the shared resource in the resource library application is updated, acquiring the updated resource library and restarting and loading the resource library application;
and the display unit is used for keeping the original reference relation unchanged by the client application and displaying the updated shared resource.
The system for dynamically sharing resources among Android applications, wherein the shared resource derivation module specifically includes:
the reference declaration unit is used for declaring the names and the resource contents of the referenced resource libraries by the clients when the clients share the same resource library shared resource;
and the export and loading unit is used for adding compiling options for the client application respectively, exporting and quoting the shared resources of the resource library application respectively, and loading and using the shared resources during running.
Has the advantages that: the invention can see the quote of the resource in the resource library application when the client application is operated, and when the resource is updated, only the configuration file of the application in the resource library is needed to be changed, and the updated resource is displayed after the client is reloaded, thereby realizing the dynamic resource sharing between the applications.
Drawings
Fig. 1 is a flowchart illustrating a method for dynamically sharing resources between Android applications according to a preferred embodiment of the present invention.
Fig. 2 is a resource library application construction flowchart of a specific application embodiment of the method for dynamically sharing resources between Android applications.
Fig. 3 is a flow chart of client application construction of a specific application embodiment of the system for dynamically sharing resources between Android applications.
Fig. 4 is a schematic diagram illustrating that two client applications share the same resource pool application resource according to a specific application embodiment of the system for dynamically sharing resources between Android applications.
Fig. 5 is a schematic diagram of a client application dynamically referencing resource library application resources in a specific application embodiment of the system for dynamically sharing resources between Android applications.
Fig. 6 is a reference relationship diagram of a client application accessing a resource library application according to a specific application embodiment of the system for dynamically sharing resources between Android applications.
FIG. 7 is a functional schematic block diagram of a preferred embodiment of a system for dynamically sharing resources between Android applications according to the present invention.
Detailed Description
In order to make the objects, technical solutions and effects of the present invention clearer and clearer, the present invention is described in further detail below. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the prior art, an APK (Android package) file generally includes the following files:
DEX, a file format of the classes file compiled by DEX is used for a main code part running on a Dalvik virtual machine;
res is a resource folder required by the APK;
xml, a traditional Android manifest file, used to describe the name, version number, required permissions, registered services, linked other applications of the application;
resources. arcc: configuration information for describing the resources having the ID values, the contents of which correspond to a resource index table;
META-INF folder: the files and the directories in the directory are recognized and interpreted by the Java 2 platform and used for configuring the application programs, the extension programs, the class loaders and the service manifest.
I.e. the APK comprises:
1. logic codes are compiled into optimized dex files;
2. a resource file that is not encoded;
3. an APK configuration file;
4. an index table of resources and codes;
5. JAVA related configuration files.
The invention provides a flowchart of a method for dynamically sharing resources between Android applications, which comprises the following steps of:
step S100, adding shared resources in the preset resource library application, declaring the shared resources, defining the library name when the resource library application is externally referred, and increasing the compiling options for configuring the resource library application.
In specific implementation, the step S100 specifically includes:
step S11, presetting resource content of the resource library application for adding the open shared resource;
step S12, declaring the name, type and corresponding fixed ID value of the shared resource in the first specific file in advance;
step S13, defining the library name of the resource library application for external reference in the second specific file in advance;
and step S14, adding the compiling options of the resource library application in advance.
In specific implementation, as shown in fig. 2, the resource library application construction flowchart is a specific application embodiment of the method for dynamically sharing resources between Android applications, and the construction method includes:
step S101, adding open shared resource content in a resource library application, wherein the resource content comprises an array, a character string, a style, a custom view, a picture and the like;
step S102, declaring a resource name, a resource type and a corresponding fixed ID value in a public resource ID information file;
step S103, defining a library name when the resource library application is externally referred in a configuration list file of the resource library application;
and step S104, increasing the compiling options of the application of the configuration resource library, and indicating that the resources in the APK package are exported to other applications for use when compiling resource files, wherein the resource package can be loaded and intervened during running.
In step S102, the resource name, the type, and the corresponding fixed ID value are declared in the public resource ID information file. Only the resources claimed here can be referenced in other applications, only the resources defined in this document can be referenced directly in the code of the client application.
In step S103, a library name of the repository application when the repository application refers to the external is defined in the configuration manifest file of the repository application. Therefore, when other applications search resources quoted by themselves, the library name corresponding to the resource library application is firstly found, and then the specific resource name is determined, so that the quoted resource content can be uniquely determined.
In step S104, a compiling option for configuring the resource library application is added, which indicates that the resources in the APK package are to be exported for other applications to use when compiling the resource file, and the resource package can be loaded and intervened during running, so that the resources in the APK package are to be exported in sequence to compile their resource contents for other packages and compile a shared library resource package, and the applications can load and access the shared library resources during running. After the configuration items are compiled in the two steps, one application can export the resource package of the application and use the resource package as a sharable library resource package for other applications.
Step S200, the client application declares the library name of the resource library application and declares that the resource library application is used as a user library.
The step S200 specifically includes:
step S21, the client application declares the resource library application name in the logic code, the resource file or the configuration file;
step S22, the client application declares that the repository application is used as a user repository in the configuration manifest file.
In specific implementation, when a client application wants to refer to a file in a resource library application, the client application needs to firstly declare the name of the referenced resource library application and simultaneously uses the resource library application as a user library. So that the shared resources of the repository application cannot be shared at the reference because the name is not declared wrong or the name is declared wrong.
And step S300, adding a compiling option by the client application, exporting and quoting the shared resource of the resource library application, and loading and using the shared resource during running.
In specific implementation, the present invention further provides a flow chart for constructing a client application in a specific application embodiment of a system for dynamically sharing resources between Android applications, and as shown in fig. 3, the construction method includes:
step S201, in a logic code, a resource file or a configuration file, on the premise of declaring a resource library name, referring to open resource content in a resource library;
and step S203, increasing the compiling options of the client application, confirming the resource content of the exported and referred resource library application, and loading and using the resource content during running.
In step S203, a compiling option for configuring the client application is added, and the resource content of the exported and referred resource library application is confirmed and loaded for use at runtime. The client application will export the resource content of the repository application and refer to the shared resource for use by the client application when running. And (4) specifying the resource library required by the application, otherwise, reporting an error in the compiling process.
Further, the step S300 further includes:
step S31, when multiple client applications share the same resource pool shared resource, multiple clients declare the referenced resource pool name and resource content respectively;
and step S32, the client application respectively adds compiling options, respectively exports and refers to the shared resources of the resource library application, and respectively loads and uses the shared resources during running.
As shown in fig. 4, when two clients share the same repository application resource, the two clients PK are respectively the client APK1 and the client APK2, and the same repository application resource can be referred only after the client APK1 and the client APK2 respectively claim the repository name and the resource content referred to as above. Just as each application calls a resource (frame-res. apk) within the Android native framework, its shared references will remain independent of each other.
And step S400, when the shared resource in the resource library application is detected to be updated, recompiling the resource library application and restarting the loaded resource library application, keeping the reference relation unchanged by the client application, and displaying the updated shared resource.
In specific implementation, the step S400 specifically includes:
step S41, when detecting that the shared resource in the resource library application is updated, recompiling the resource library application, obtaining the updated resource library, and restarting the loading resource library application;
and step S42, the client application keeps the original reference relation unchanged and displays the updated shared resource.
In specific implementation, as shown in fig. 5, after updating the resources in the old-version resource pool APK, for example, changing the content of the character String (for example, < String name = "Shared _ String" > Shared String OK |), modifying the resource file in which the character String is located, recompiling the resource pool to obtain the updated resource pool APK, then placing the resource pool APK into the target board, and restarting and loading the resource pool APK. At this time, the client application does not change, that is, the reference relationship remains unchanged, and the updated resource content can be displayed, so that the method for dynamically referencing the resource between the Android applications is realized.
The invention also provides a reference relation diagram of the resource library application accessed by the client application in the specific application embodiment of the system for dynamically sharing resources between Android applications, as shown in fig. 6, when the client application runs and loads, the resource library used as the uses-library is loaded at the same time according to the configuration manifest declaration file. When the method runs to the Java logic code, the XML resource file or the android manifest configuration file to quote the related shared resource content, firstly, whether the resource is the public open quoted resource content is determined according to public.xml (common resource ID declaration file) in the resource library application, and then the resource of the specified type under the corresponding library resource is found according to the resource library prefix, wherein the resource comprises the type resource content such as data, character strings, styles, custom views or pictures.
According to the method for dynamically sharing the resources among the Android applications, the resource packages are named and exported in the resource library application, and the contents of the resource packages are loaded in the client application in a quote mode, so that the client application is compiled. And during operation, the resource library application is appointed to serve as a user library and is given to the client application for reference, the resource is loaded, the resource contents of different resource types in the resource package are shared in different calling modes, dynamic sharing of the resource can be completed by recompiling, installing and upgrading the resource library application after the resource is updated, and in addition, different multiple applications can use the same mode to reference the resource contents in the resource package. The invention can realize the dynamic resource sharing among different applications, and can also realize the resource sharing of the same application by a plurality of applications, thereby providing convenience for users.
On the basis of the above method embodiment, the present invention further provides a functional schematic block diagram of a preferred embodiment of a system for dynamically sharing resources between Android applications, as shown in fig. 7, where the system includes:
the presetting module 100 is used for presetting shared resources added in the resource library application, declaring the shared resources, defining the library name when the resource library application is externally referred, and increasing the compiling options for configuring the resource library application; as described above.
A declaration module 200, configured to declare, by the client application, a library name of the repository application, and declare that the repository application is used as a user library; as described above.
The shared resource export module 300 is used for adding compiling options to the client application, exporting and quoting shared resources applied by the resource library, and loading and using the shared resources during running; as described above.
An updating module 400, configured to recompile the repository application and restart the loaded repository application after detecting that the shared resource in the repository application is updated, where the client application keeps the reference relationship unchanged, and displays the updated shared resource; as described above.
The system for dynamically sharing resources among Android applications comprises a preset module and a resource sharing module, wherein the preset module specifically comprises:
the preset unit is used for presetting the resource content of the resource library application for adding the open shared resource; as described above.
The device comprises a pre-declaring unit, a resource sharing unit and a resource sharing unit, wherein the pre-declaring unit is used for declaring the name and the type of a shared resource and a corresponding fixed ID value in a first specific file in advance; as described above.
The pre-definition unit is used for defining the library name of the resource library application for external reference in a second specific file in advance; as described above.
The pre-adding unit is used for pre-adding compiling options for configuring the resource library application; as described above.
The system for dynamically sharing resources among Android applications comprises a declaration module and a resource sharing module, wherein the declaration module specifically comprises:
the resource library name declaration unit is used for declaring the application name of the resource library in the logic code, the resource file or the configuration file by the client; as described above.
The user library declaration unit is used for declaring that the resource library application is used as a user library in the configuration list file by the user side; as described above.
The system for dynamically sharing resources among Android applications comprises an updating module, a resource sharing module and a resource sharing module, wherein the updating module specifically comprises:
the detecting and acquiring unit is used for recompiling the resource library application after detecting that the shared resource in the resource library application is updated, acquiring the updated resource library and restarting and loading the resource library application; as described above.
The display unit is used for keeping the original reference relation unchanged by the client application and displaying the updated shared resource; as described above.
The system for dynamically sharing resources among Android applications, wherein the shared resource derivation module specifically includes:
the reference declaration unit is used for declaring the names and the resource contents of the referenced resource libraries by the clients when the clients share the same resource library shared resource; as described above.
The export and loading unit is used for adding compiling options for the client application respectively, exporting and quoting shared resources of the resource library application respectively, and loading and using the shared resources during running; as described above.
The invention provides a method for dynamically sharing a resource package in an application by an Android application, which is characterized in that the resource package of the application is exported by using compiling configuration, is referred by other applications in a mode of calling a logic code or using a resource file, and is loaded and accessed to the resource package during the running of the application, and then the content in the resource package is embodied on an application interface to complete the additional reference of resources in the non-application. When the resource content in the resource package is updated, the definition of the resource library reference relation is not changed, and the shared resource among the applications can be upgraded only by upgrading the application where the resource package is located, so that the dynamic loading of the resource is realized. Meanwhile, a method for sharing resources by multiple applications among Android is provided. Since the resource package of the resource application is derived in the process of reference, and the definition of the resource has public property (public attribute), different applications can present the resource on all applications accessing the content of the resource by referring to the resource content corresponding to the unique ID number under the library name of the resource library application, so that a plurality of applications can share the resource in the same application.
In summary, the present invention provides a method and a system for dynamically sharing resources between Android applications, where the method includes: presetting shared resources added in the resource library application, declaring the shared resources, defining a library name when the resource library application is externally referred, and increasing a compiling option for configuring the resource library application; the client application declares a library name of the resource library application and declares that the resource library application is used as a user library; adding a compiling option to the client application, exporting and quoting shared resources of the resource library application, and loading and using the shared resources during running; and when the shared resources in the resource library application are detected to be updated, recompiling the resource library application and restarting the loaded resource library application, keeping the reference relation unchanged by the client application, and displaying the updated shared resources. The invention can see the quote of the resource in the resource library application when the client application is operated, and when the resource is updated, only the configuration file of the application in the resource library is needed to be changed, and the updated resource is displayed after the client is reloaded, thereby realizing the dynamic resource sharing between the applications.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (10)

1. A method for dynamically sharing resources among Android applications is characterized by comprising the following steps:
A. presetting shared resources added in the resource library application, declaring the shared resources, defining a library name when the resource library application is externally referred, and increasing a compiling option for configuring the resource library application;
B. the client application declares a library name of the resource library application and declares that the resource library application is used as a user library;
C. adding a compiling option to the client application, exporting and quoting shared resources of the resource library application, and loading and using the shared resources during running;
D. and when the shared resources in the resource library application are detected to be updated, recompiling the resource library application and restarting the loaded resource library application, keeping the reference relation unchanged by the client application, and displaying the updated shared resources.
2. The method for dynamically sharing resources among Android applications according to claim 1, wherein the step A specifically comprises:
a1, presetting resource content of a resource library application for adding open shared resources;
a2, declaring the name, the type and the corresponding fixed ID value of the shared resource in the first specific file in advance;
a3, defining the library name of the resource library application when the resource library application is externally referred in a second specific file in advance;
and A4, adding a compiling option for configuring the resource library application in advance.
3. The method for dynamically sharing resources among Android applications according to claim 2, wherein the step B specifically comprises:
b1, declaring the resource library application name in the logic code, the resource file or the configuration file by the client application;
b2, the client application declares the resource library application to be used as a user library in the configuration manifest file.
4. The method for dynamically sharing resources among Android applications according to claim 3, wherein the step D specifically comprises:
d1, when detecting that the shared resource in the resource library application is updated, recompiling the resource library application, obtaining the updated resource library, and restarting and loading the resource library application;
d2, the client application keeps the original reference relation unchanged, and the updated shared resource is displayed.
5. The method for dynamically sharing resources among Android applications according to claim 4, wherein the step C further comprises:
c1, when multiple client applications share the same resource pool shared resource, multiple clients declare the name and content of the referenced resource pool;
and C2, adding compiling options by the client application respectively, exporting and quoting shared resources of the resource library application respectively, and loading and using the shared resources respectively during running.
6. A system for dynamically sharing resources among Android applications is characterized by comprising:
the system comprises a presetting module, a resource library application and a configuration module, wherein the presetting module is used for presetting shared resources added in the resource library application, declaring the shared resources, defining the library name when the resource library application is externally referred, and increasing the compiling options for configuring the resource library application;
the declaration module is used for declaring the library name of the resource library application by the client application and declaring that the resource library application is used as a user library;
the shared resource export module is used for adding compiling options for the client application, exporting and quoting shared resources applied by the resource library, and loading and using the shared resources during running;
and the updating module is used for recompiling the resource library application and restarting the loading resource library application after detecting that the shared resources in the resource library application are updated, and the client application keeps the reference relation unchanged and displays the updated shared resources.
7. The system for dynamically sharing resources between Android applications as claimed in claim 6, wherein the preset module specifically comprises:
the preset unit is used for presetting the resource content of the resource library application for adding the open shared resource;
the device comprises a pre-declaring unit, a resource sharing unit and a resource sharing unit, wherein the pre-declaring unit is used for declaring the name and the type of a shared resource and a corresponding fixed ID value in a first specific file in advance;
the pre-definition unit is used for defining the library name of the resource library application for external reference in a second specific file in advance;
and the pre-adding unit is used for pre-adding compiling options for configuring the resource library application.
8. The system for dynamically sharing resources among Android applications as claimed in claim 7, wherein the declaration module specifically includes:
the resource library name declaration unit is used for declaring the application name of the resource library in the logic code, the resource file or the configuration file by the client;
and the user library declaration unit is used for declaring that the resource library application is used as a user library in the configuration list file by the user side.
9. The system for dynamically sharing resources between Android applications as claimed in claim 8, wherein the update module specifically comprises:
the detecting and acquiring unit is used for recompiling the resource library application after detecting that the shared resource in the resource library application is updated, acquiring the updated resource library and restarting and loading the resource library application;
and the display unit is used for keeping the original reference relation unchanged by the client application and displaying the updated shared resource.
10. The system for dynamically sharing resources between Android applications as claimed in claim 9, wherein the shared resource derivation module specifically comprises:
the reference declaration unit is used for declaring the names and the resource contents of the referenced resource libraries by the clients when the clients share the same resource library shared resource;
and the export and loading unit is used for adding compiling options for the client application respectively, exporting and quoting the shared resources of the resource library application respectively, and loading and using the shared resources during running.
CN201510576328.2A 2015-09-11 2015-09-11 Method and system for dynamically sharing resources between Android applications Active CN105159788B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510576328.2A CN105159788B (en) 2015-09-11 2015-09-11 Method and system for dynamically sharing resources between Android applications

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510576328.2A CN105159788B (en) 2015-09-11 2015-09-11 Method and system for dynamically sharing resources between Android applications

Publications (2)

Publication Number Publication Date
CN105159788A CN105159788A (en) 2015-12-16
CN105159788B true CN105159788B (en) 2020-10-27

Family

ID=54800650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510576328.2A Active CN105159788B (en) 2015-09-11 2015-09-11 Method and system for dynamically sharing resources between Android applications

Country Status (1)

Country Link
CN (1) CN105159788B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018032516A1 (en) * 2016-08-19 2018-02-22 华为技术有限公司 Method and apparatus for sharing application data, and terminal device
CN106569880B (en) * 2016-11-07 2020-12-22 Tcl科技集团股份有限公司 Method and system for dynamically sharing resources between Android applications
CN106855816B (en) * 2016-12-13 2020-10-13 海信视像科技股份有限公司 Resource file loading method and device of application program in terminal
CN106648788B (en) * 2016-12-28 2020-08-28 东软集团股份有限公司 Application program installation method and device
CN106648810A (en) * 2017-01-24 2017-05-10 东软集团股份有限公司 Application program resource obtaining method and device
CN107436787B (en) * 2017-07-31 2018-05-22 腾讯科技(深圳)有限公司 Method for processing resource, device, storage medium and electronic device
CN107741887A (en) * 2017-10-23 2018-02-27 山东浪潮通软信息科技有限公司 A kind of communication interaction method and apparatus of inter-module
CN109002707A (en) * 2018-08-31 2018-12-14 国鼎网络空间安全技术有限公司 The device and method of Android application configuration and data sharing based on virtual container
CN111399927B (en) * 2018-12-14 2024-06-18 北京奇虎科技有限公司 Method and device for sharing Class files by application and computing equipment
CN111090463B (en) * 2019-12-11 2023-07-25 北京小米移动软件有限公司 Resource identification method and device and computer storage medium
CN113076147B (en) * 2021-03-09 2024-02-02 北京一亩田新农网络科技有限公司 Dynamic APK resource loading method, device, system and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324537A (en) * 2013-05-17 2013-09-25 Tcl集团股份有限公司 Resource sharing method and device
CN103546532A (en) * 2013-07-02 2014-01-29 Tcl集团股份有限公司 Method and system for shared data in application
CN103618779A (en) * 2013-11-21 2014-03-05 深圳Tcl新技术有限公司 Method and system for resource sharing

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9513979B2 (en) * 2013-01-11 2016-12-06 Sap Se Mobile communication device providing interconnectivity between apps based on storage scope
WO2015023887A1 (en) * 2013-08-15 2015-02-19 Mocana Corporation Gateway device for terminating a large volume of vpn connections

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324537A (en) * 2013-05-17 2013-09-25 Tcl集团股份有限公司 Resource sharing method and device
CN103546532A (en) * 2013-07-02 2014-01-29 Tcl集团股份有限公司 Method and system for shared data in application
CN103618779A (en) * 2013-11-21 2014-03-05 深圳Tcl新技术有限公司 Method and system for resource sharing

Also Published As

Publication number Publication date
CN105159788A (en) 2015-12-16

Similar Documents

Publication Publication Date Title
CN105159788B (en) Method and system for dynamically sharing resources between Android applications
US10795660B1 (en) Live code updates
US9161156B2 (en) Tiles in a mobile application framework
US8245223B2 (en) Networked deployment of multi-application customizations
US10157068B2 (en) Configuring and operating applications using a descriptor
US9513891B2 (en) Method and device for publishing and implementing wireless application
US10684846B2 (en) Using semantic annotations to control compatibility behaviors
CN105657191A (en) Application increment upgrading method and system based on Android system
CN110187910B (en) Thermal updating method, device, equipment and computer readable storage medium
US9043757B2 (en) Identifying differences between source codes of different versions of a software when each source code is organized using incorporated files
CN106569880B (en) Method and system for dynamically sharing resources between Android applications
CN105373406B (en) Application layout dynamic switching method and system based on Android platform
CN106796521B (en) API version control independent of product release
CN112769706B (en) Componentized routing method and system
CN110968340A (en) Method and device for realizing multi-version dependence isolation
JP2021068415A (en) Code execution method, device, rendering device, storage medium, and program
US9141353B2 (en) Dynamically building locale objects at run-time
KR20110130611A (en) Web platform unit for mobile terminal connectioned web-application program in heterogeneous operating system
CN116414774A (en) File migration method, device, equipment and storage medium
KR20170020366A (en) Subscriber defined dynamic eventing
US7690007B2 (en) Mapping of dynamic link libraries in a computing device
CN114942796B (en) Plug-in compiling and calling method, device, equipment and storage medium
US20240129402A1 (en) Customization framework for native mobile applications
US9778917B2 (en) Dynamically building subsections of locale objects at run-time
CN106502754A (en) Activity component loading methods and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 516006 TCL technology building, No.17, Huifeng Third Road, Zhongkai high tech Zone, Huizhou City, Guangdong Province

Applicant after: TCL Technology Group Co.,Ltd.

Address before: 516006 Guangdong province Huizhou Zhongkai hi tech Development Zone No. nineteen District

Applicant before: TCL RESEARCH AMERICA Inc.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant