Supercharge Your Innovation With Domain-Expert AI Agents!

A method and device for invoking an apk plug-in of an application program

An application, plug-in technology, used in the computer field

Active Publication Date: 2020-09-11
360 TECH GRP CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

That is, it is not yet possible to call the APK plug-in without installing the APK plug-in only

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and device for invoking an apk plug-in of an application program
  • A method and device for invoking an apk plug-in of an application program
  • A method and device for invoking an apk plug-in of an application program

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a calling method for an application APK plug-in unit and a device of the calling method for the application APK plug-in unit. The method comprises the following steps that after receiving a calling inquiry, a subclass of an application-calling plug-in unit activity component class judges whether or not the APK plug-in unit is successfully loaded, according to whether or not the plug-in unit activity component class in the APK plug-in unit is empty; when the APK plug-in unit is successfully loaded, the corresponding activity to the plug-in unit activity component class in the APK plug-in unit is instantiated; according to whether or not a base activity is empty, the subclass of the plug-in unit activity component class in the APK plug-in unit judges whether or not the main program (the APK plug-in unit) is called in a plug-in form; when the APK plug-in unit is confirmed to be called in the plug-in form by the application program, an example of the activity is called by the subclass of the application-calling plug-in unit activity component class. The method and the device are used for calling plug-in units without installation of plug-in units.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a method and device for invoking an APK plug-in of an application program. Background technique [0002] Smart terminals are playing an increasingly important role in daily life. Taking Android smartphones as an example, in order to meet various needs, the main application program, APK (Android Package, Android installation package), can be installed on the system platform. When certain functions are needed, the application programs installed in the system platform can be opened to realize certain functions. [0003] However, with the progress of various industries, the integrated functions of the application program are more abundant and the interface is more user-friendly and gorgeous, so the volume of the application program is getting larger and larger, because each function of the application program integration may be developed by a different Team development, ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/445
CPCG06F9/44526
Inventor 荣涛
Owner 360 TECH GRP CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More