Application installation method and device
A technology of application programs and installation methods, applied in the field of communication, can solve problems such as terminal hazards and system slowness, achieve good user experience, improve security, and avoid automatic installation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] This implementation provides a method for installing an application program, which can be applied to electronic devices such as terminals, such as mobile phones, tablet computers, PCs (personal computers, personal computers) and other user terminals. The method for installing the application program can include:
[0044] Step S101 , when installing an application program, detect whether the installation mode of the application program is silent installation, if yes, perform step S103 , if not, perform step S102 .
[0045] In the existing technology, taking the Android system as an example, if you want to use the application program, you need to first install it into the smart terminal through the system package management service PackageManagerService. There are many ways to install the Android application program, such as: system application installation, network download Application installation, ADB (Android Debug Bridge, debugging bridge) tool installation, third-par...
Embodiment 2
[0068] This embodiment will further introduce the application installation method of the present invention on the basis of the method described in Embodiment 1. Refer to figure 2 , an application installation method provided in this embodiment, including:
[0069] Step S201, acquiring attribute information of an installer, where the installer is an installer of an application program.
[0070] For example, the smart terminal system can add an application installation monitoring mechanism in the system package management service. The application installation detection mechanism obtains the caller of the call interface installPackage, that is, the installer, to obtain the attribute information of the installer, including the APK name, APK package name, installation path, installation method and other information.
[0071] In step S202, it is detected whether the installation mode of the application program is silent installation according to the above attribute information, if...
Embodiment 3
[0090] In order to better implement the above method embodiments, the present invention also provides an application program installation device, which can be integrated into electronic devices such as terminals, such as user terminals such as mobile phones, tablet computers, and PCs.
[0091] Such as image 3 As shown, the device for installing the application may include: a detection module 301, a determination module 302, and an installation module 303;
[0092] The detection module 301 is used to detect whether the installation mode of the application program is silent installation when the application program is installed;
[0093] Specifically, the detection module 301 can be set in the system package management service of the smart terminal to detect whether the application program is installed in silent installation mode.
[0094] For example, the above detection module 301 is added to the application APK interface function installPackage() in the system package manag...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


