Method and device for running APK plug-in of application
An application, plug-in technology, used in the computer field
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] The embodiment of the present application proposes a method for running the APK plug-in of an application, which is used to run the plug-in without installing the plug-in. The schematic flow chart of the method is as follows figure 1 shown, including the following steps:
[0034] Step 11: Load the APK plug-in, and generate a Dex file in the main program directory during the loading process.
[0035] In this step, since the application intends to load the APK plug-in without installing it, the APK plug-in determined in this step is a plug-in that has not been installed on the platform where the application program is located. In this application, the application program is regarded as the main program installed in the system platform. In order to facilitate the loading of the APK plug-in, so as to finally realize the functions of the APK plug-in and avoid excessive use of reflection mechanisms, the present invention abstracts the functions provided by the APK plug-in in...
Embodiment 2
[0060] Based on the same inventive concept, Embodiment 2 provides an apparatus for running an APK plug-in of an application, which is used to run the plug-in without installing the plug-in. Such as Figure 4 As shown, the device includes: a loading unit 21, a calling unit 22, and an operating unit 23, wherein,
[0061] The loading unit 21 can be used to load an APK plug-in, and a Dex file is generated in the main program directory during the loading process, and the APK plug-in is a plug-in that is not installed on the platform where the application program is located;
[0062] The calling unit 22 can be used to call the method in the successfully loaded APK plug-in to realize the plug-in function when the loading is successful;
[0063] The running unit 23 can be used to run the Dex file through a virtual machine to run the APK plug-in.
[0064] In one embodiment, the loading unit can be used to: generate the object of the ClassLoader class loader; set the instance Context ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com