Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A kind of realization method of desktop application plug-in

A desktop application program and application program technology, applied in the direction of program control design, program control device, program loading/starting, etc., can solve problems such as high crash probability, large desktop program package, and compact modules

Active Publication Date: 2019-07-05
GUANGZHOU GOMO SHIJI TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, the desktop program has too many third-party application codes inserted into the main program, resulting in a large package body of the desktop program and a high probability of crash caused by too tight coupling between modules; and the Android system has a limitation on the number of engineering 65536 methods

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 kind of realization method of desktop application plug-in
  • A kind of realization method of desktop application plug-in

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment

[0021] Such as figure 1 As shown, a plug-in implementation method of a desktop application, the method includes the following steps:

[0022] S101: adding the DroidPlugin framework to the desktop main program;

[0023] S102: Initialize the DroidPlugin module in the onCreate method of the Application of the main program. At this time, the DroidPlugin will replace the IActivityManager, IPackageManager, WIFI, Notification, and Windows-related modules in the process of the main program. The relevant modules specifically include: IAudioService, IClipboard, IContentService, IGraphicStats, IInputMethodManager, IMediaRouterService, IMountService, INotificationManager, ISearchManager, ISessionManager, IWifiManager, IWindowManager), so that the underlying information flow between the main process and the system ActivityManagerService and PackageManagerService can be monitored in the DroidPlugin module;

[0024] S103: Use the InstallPackage method in the DroidPlugin to simulate the inst...

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 provides an implementation method for plug-in type development of a desktop application. The method includes steps of 1, adding a DroidPlugin frame in a desktop main program; 2, initiating the DroidPlugin module in an onCreate method of an Applicaton of the main program; 3, mounting a third-party application through an InstallPackage method simulating a system installation method; 4, performing process monitoring on information stream in step 3 by the main program, performing interception before the program uses a real start method for the system, judging whether a module started this time belongs to the application program already subjected to plug-in type installation according to package names through installation management in step 2, switching the start method if the module started this time belongs to the application program already subjected to plug-in type installation; 5, performing analysis after an Android system receives a new Intent and performing initializing start on the third-party application so as to realize the plug-in type development of the application.

Description

technical field [0001] The invention relates to the technical field of desktop application loading in mobile terminals, in particular to a method for implementing plug-in desktop applications. Background technique [0002] At present, the desktop program has too many third-party application codes inserted into the main program, resulting in a large package body of the desktop program and a high probability of crash caused by too tight coupling between modules; and the Android system has a limitation on the number of engineering 65536 methods . Contents of the invention [0003] Aiming at the deficiencies of the prior art, the purpose of the present invention is to provide a plug-in implementation method of desktop applications. [0004] In order to achieve the above object, the technical solution adopted by the present invention is as follows: a method for implementing plug-in of desktop application program, said method comprising the following steps: [0005] S1. Add th...

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 GUANGZHOU GOMO SHIJI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products