A method and device for invoking an apk plug-in of an application program
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
[0035] The embodiment of this application proposes a method for invoking the APK plug-in of the application program, which is used to call the function of 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:
[0036] Step 11: After receiving the invocation request, the application calls the subclass of the plug-in active component class to determine whether the APK plug-in is loaded successfully based on whether the plug-in active component class in the APK plug-in is empty.
[0037] Before calling the plug-in function, the APK plug-in and its corresponding logic and resources should be loaded first. In order to facilitate calling the functions provided by the APK plug-in and avoid excessive use of reflection mechanisms, the present invention abstracts the functions provided by calling the APK plug-in into two abstractions father. In this application, the application program is regarded...
Embodiment 2
[0059] Based on the same inventive concept, Embodiment 2 provides an apparatus for invoking an APK plug-in of an application program, for invoking a function of the plug-in without installing the plug-in. Such as Figure 4 As shown, the device includes: a loading judging unit 21, an instantiation unit 22, a calling form judging unit 23, and a calling unit 24, wherein,
[0060] The loading judging unit 21 can be used to determine whether the APK plug-in is loaded successfully by calling the subclass of the plug-in active component class of the application program and whether the plug-in active component class in the APK plug-in is empty after receiving the call request;
[0061] The instantiation unit 22 can be used for instantiating the Activity corresponding to the plug-in activity component class in the APK plug-in when the APK plug-in is loaded successfully;
[0062] Calling form judging unit 23, can be used for the subclass of plug-in activity component class in described...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com