CN106598662B - Android-based application loading method and device - Google Patents

Android-based application loading method and device Download PDF

Info

Publication number
CN106598662B
CN106598662B CN201611123921.2A CN201611123921A CN106598662B CN 106598662 B CN106598662 B CN 106598662B CN 201611123921 A CN201611123921 A CN 201611123921A CN 106598662 B CN106598662 B CN 106598662B
Authority
CN
China
Prior art keywords
target application
apk file
application
java
virtual machine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611123921.2A
Other languages
Chinese (zh)
Other versions
CN106598662A (en
Inventor
施生移
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lanxin Mobile Beijing Technology Co ltd
Original Assignee
Lanxin Mobile Beijing Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lanxin Mobile Beijing Technology Co ltd filed Critical Lanxin Mobile Beijing Technology Co ltd
Priority to CN201611123921.2A priority Critical patent/CN106598662B/en
Publication of CN106598662A publication Critical patent/CN106598662A/en
Application granted granted Critical
Publication of CN106598662B publication Critical patent/CN106598662B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
    • G06F9/45516Runtime code conversion or optimisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides an android-based application loading method and device. The method comprises the following steps: providing an entrance for loading a target application in a current application, and acquiring an apk file of the target application corresponding to the entrance when the entrance is triggered; saving the apk file of the target application to a specified directory of the current application; and running the apk file of the target application in the specified directory to load the target application in the current application. When a user needs to use a target application, the technical scheme provided by the embodiment of the invention can directly load the target application in the current application without switching between the two applications, thereby saving the operation time and improving the use experience of the user.

Description

Android-based application loading method and device
Technical Field
The invention relates to the technical field of internet application, in particular to an android-based application loading method and device.
Background
With the rapid development of the internet and mobile terminal technologies, the user's demand is also continuously increasing. In order to meet the diversity of user demands, many applications (apps) convenient for users to use, such as various instant messaging, reading, entertainment, games, enterprise collaboration applications, etc., have appeared. When the user uses each application, the application is selected to be loaded and started.
In actual use, a user may need to switch between multiple applications to complete work or learning. For example, a user proposes a business application in a business trip application, and then needs to switch to an enterprise collaborative application to send a message to a corresponding contact (colleague or leader, etc.) to inform the contact of business trip or related matters, so that switching back and forth between two applications is needed, which is very cumbersome.
In order to solve the above problems, developers write travel functions into the enterprise collaborative application as a function of the enterprise collaborative application, so that switching between applications is not required, but the enterprise collaborative application is becoming larger and larger, and therefore, an effective solution is urgently needed to be provided to solve the above problems.
Disclosure of Invention
In view of the above, the present invention is proposed in order to provide an android-based application loading method and a corresponding apparatus that overcome or at least partially solve the above problems.
According to an aspect of the invention, an android-based application loading method is provided, which includes:
providing an entrance for loading a target application in a current application, and acquiring an apk file of the target application corresponding to the entrance when the entrance is triggered;
saving the apk file of the target application to a specified directory of the current application;
and running the apk file of the target application in the specified directory to load the target application in the current application.
Optionally, the apk file of the target application includes java code and resource data, and running the apk file of the target application in the specified directory includes:
creating a class loader in the current application;
loading java code in an apk file of the target application in the specified directory to a java virtual machine by the created class loader;
and running java codes in the java virtual machine to draw the interface of the target application.
Optionally, creating a class loader in the current application includes:
and applying a new class loader from the class loader of the current application to the java virtual machine to serve as the class loader established in the current application.
Optionally, before running the apk file of the target application in the specified directory, the method further includes:
creating a proxy resource manager that manages resource data in the apk file of the target application in the specified directory.
Optionally, in the process of loading java code in the apk file of the target application in the specified directory into a java virtual machine by the created class loader, the method further includes:
and calling a specified method for acquiring the resource, and acquiring corresponding resource data from the proxy resource manager by the specified method.
Optionally, after the java code is run in the java virtual machine to draw the interface of the target application, the method further includes:
and receiving an operation request of a user for the target application, and loading java codes corresponding to the operation request to a java virtual machine by the created class loader so as to execute the operation corresponding to the operation request in the java virtual machine.
Optionally, after the java code is run in the java virtual machine to draw the interface of the target application, the method further includes:
and when an interactive request for the target application to interact with the current application is received, the created class loader loads java codes corresponding to the interactive request to a java virtual machine so as to execute interactive operation corresponding to the interactive request on the java virtual machine.
Optionally, when the resource data in the apk file of the target application changes, the method further includes:
repackaging the changed resource data and the java code, and packaging into a new data packet;
and downloading the new data packet to a specified directory of the current application.
Optionally, obtaining the apk file of the target application corresponding to the entry includes:
searching an apk file of the target application in an operating system where the current application is located;
and if the target application is found, acquiring the apk file of the target application in the operating system where the current application is located.
Optionally, if the apk file of the target application is not found in the operating system where the current application is located, the method further includes:
sending a request for acquiring an apk file of the target application to a cloud server;
and receiving the apk file of the target application returned by the cloud server according to the request.
Optionally, before running the apk file of the target application in the specified directory, the method further includes:
acquiring relevant information of the target application from the specified directory;
and registering the relevant information of the target application into the current application.
Optionally, before running the apk file of the target application in the specified directory, the method further includes:
and checking the apk file of the target application in the specified directory, and executing subsequent operation after the checking is passed.
According to another aspect of the present invention, there is also provided an android-based application loading apparatus, including:
the system comprises a portal providing module, a target application loading module and a display module, wherein the portal providing module is suitable for providing a portal for loading the target application in the current application;
the acquisition module is suitable for acquiring the apk file of the target application corresponding to the entry when the entry is triggered;
the storage module is suitable for storing the apk file of the target application into the specified directory of the current application;
and the running module is suitable for running the apk file of the target application in the specified directory so as to load the target application in the current application.
Optionally, the apk file of the target application includes java code and resource data, and the running module includes:
a creating unit adapted to create a class loader in the current application;
the loading unit is suitable for loading java codes in the apk file of the target application in the specified directory to a java virtual machine by the created class loader;
and the drawing unit is suitable for running java codes in a java virtual machine to draw the interface of the target application.
Optionally, the creating unit is further adapted to:
and applying a new class loader from the class loader of the current application to the java virtual machine to serve as the class loader established in the current application.
Optionally, the apparatus further comprises:
the creation module is suitable for creating a proxy resource manager before the operation module operates the apk file of the target application in the specified directory, and the proxy resource manager manages resource data in the apk file of the target application in the specified directory.
Optionally, the loading unit is further adapted to:
calling a specified method for acquiring resources in the process of loading java code in the apk file of the target application in the specified directory to a java virtual machine by the created class loader, and acquiring corresponding resource data from the proxy resource manager by the specified method.
Optionally, the apparatus further comprises:
the first processing module is suitable for receiving an operation request of a user for the target application after the drawing unit runs java code in a java virtual machine to draw an interface of the target application, and the created class loader loads java code corresponding to the operation request to the java virtual machine so as to execute an operation corresponding to the operation request in the java virtual machine.
Optionally, the apparatus further comprises:
and the second processing module is suitable for loading java codes corresponding to the interaction requests to the java virtual machine by the created class loader when the interaction requests for the interaction between the target application and the current application are received after the drawing unit runs the java codes in the java virtual machine to draw the interface of the target application, so as to execute the interaction operations corresponding to the interaction requests in the java virtual machine.
Optionally, the apparatus further comprises:
the packaging module is suitable for repackaging the changed resource data and java codes to package into a new data packet when the resource data in the apk file of the target application is changed;
and the downloading module is suitable for downloading the new data packet to the specified directory of the current application.
Optionally, the obtaining module is further adapted to:
searching an apk file of the target application in an operating system where the current application is located;
and if the target application is found, acquiring the apk file of the target application in the operating system where the current application is located.
Optionally, the obtaining module is further adapted to:
if the apk file of the target application is not found in the operating system of the current application, sending a request for obtaining the apk file of the target application to a cloud server;
and receiving the apk file of the target application returned by the cloud server according to the request.
Optionally, the apparatus further comprises:
the registration module is suitable for acquiring the relevant information of the target application from the specified directory before the apk file of the target application in the specified directory is run by the running module; and registering the relevant information of the target application into the current application.
Optionally, the apparatus further comprises:
the verification module is suitable for verifying the apk file of the target application in the specified directory before the operation module operates the apk file of the target application in the specified directory, and executing subsequent operation after the verification is passed.
The embodiment of the invention provides an android-based application loading scheme, and particularly realizes that an entry for loading a target application is provided in the current application, and the entry can be triggered when a user needs to use the target application. Therefore, when a user needs to use the target application, the technical scheme provided by the embodiment of the invention can directly load the target application in the current application without switching between the two applications, thereby saving the operation time and improving the use experience of the user. In addition, the target application in the embodiment of the invention is independent, a developer is not required to develop the current application in advance, the target application is used as a function of the current application, the current application is not increased, and the problem that the current application is increased due to the fact that the developer needs to write the function of the target application into the current application as a function of the current application in the prior art is solved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow diagram illustrating an android-based application loading method according to an embodiment of the invention;
FIG. 2 is a flowchart illustrating an android-based application loading method according to another embodiment of the present invention;
FIG. 3 illustrates a schematic diagram of providing an entry in a current application for loading a target application, in accordance with an embodiment of the present invention;
FIG. 4 shows a schematic diagram of loading a target application in a current application according to an embodiment of the invention;
FIG. 5 is a schematic structural diagram of an android-based application loading apparatus according to an embodiment of the present invention; and
fig. 6 is a schematic structural diagram of an android-based application loading apparatus according to another embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In order to solve the technical problem, an embodiment of the present invention provides an android-based application loading method, which can be applied to mobile devices such as smart phones and tablet computers. Fig. 1 shows a flowchart of an android-based application loading method according to an embodiment of the present invention. As shown in fig. 1, the method may include at least the following steps S102 to S106.
Step S102, providing an entrance for loading the target application in the current application, and acquiring the apk file of the target application corresponding to the entrance when the entrance is triggered.
And step S104, saving the apk file of the target application to the specified directory of the current application.
Step S106, the apk file of the target application in the specified directory is operated to load the target application in the current application.
The embodiment of the invention provides an android-based application loading scheme, and particularly realizes that an entry for loading a target application is provided in the current application, and the entry can be triggered when a user needs to use the target application. Therefore, when a user needs to use the target application, the technical scheme provided by the embodiment of the invention can directly load the target application in the current application without switching between the two applications, thereby saving the operation time and improving the use experience of the user. In addition, the target application in the embodiment of the invention is independent, a developer is not required to develop the current application in advance, the target application is used as a function of the current application, the current application is not increased, and the problem that the current application is increased due to the fact that the developer needs to write the function of the target application into the current application as a function of the current application in the prior art is solved.
android is an open source operating system based on linux and jave, and is mainly used for mobile devices. The apk mentioned in the embodiment of the invention is an abbreviation of android package, namely an android installation package, and can be installed by directly transmitting an apk file to an android simulator or android mobile equipment (such as a smart phone, a tablet personal computer and the like) for execution. Typically, the apk file includes a source file (e.g., java code or program, bytecode, etc.) and resource data.
In step S102, an entry for loading the target application is provided in the current application, and after the entry is triggered, one target application may be selected from the multiple target applications corresponding to the entry, so as to obtain the apk file of the selected target application. In an alternative embodiment, multiple entries may also be provided in the current application, each entry corresponds to one target application, and when an entry is triggered, an apk file of the target application corresponding to the entry may be acquired.
In general, after acquiring an apk file, the mobile device is stored in a temporary directory, and a user needs to manually select to install the apk file and store the apk file in a designated directory. According to the embodiment of the invention, after the apk file of the target application is obtained, the user does not need to manually install the apk file, and the apk file of the target application is directly stored in the specified directory of the current application, so that the operation time is saved. Further, the embodiment of the present invention may obtain the relevant information of the target application from the specified directory, and register the relevant information of the target application in the current application, so that when the apk file of the target application in the specified directory is run, the relevant information of the target application may be obtained from the current application to support loading the target application in the current application.
In the above step S106, the apk file of the target application in the specified directory is run, an optional scheme is provided in the embodiment of the present invention, in the scheme, a class loader may be created in the current application, and the created class loader loads java codes in the apk file of the target application in the specified directory to a java virtual machine, so that the java codes may be run in the java virtual machine to draw an interface of the target application, thereby implementing loading of the target application in the current application. The java virtual machine may be a virtual machine currently used by the current application, or may be a newly-built virtual machine, and in the actual application, the java virtual machine may be configured according to specific requirements, which is not limited in this embodiment of the present invention.
Specifically, the java source code or program (. java file) is converted into java byte code (. class file) after being compiled by a java compiler, a class loader (class loader) is responsible for reading the java byte code and converting the java byte code into an instance of java.
Further, in an optional embodiment of the present invention, when the class loader is created in the current application, the class loader of the current application may apply for a new class loader from the java virtual machine as the class loader created in the current application.
Therefore, before the apk file of the target application in the specified directory is run, a proxy resource manager can be created, and the proxy resource manager manages the resource data in the apk file of the target application in the specified directory, so that the resource data can be found when the code is run. That is, the specified method for acquiring the resource can be called in the process of loading the java code in the apk file of the target application in the specified directory to the java virtual machine by the created class loader, and the corresponding resource data is acquired from the proxy resource manager by the specified method. The specified method can be a method of the class, the class can be instantiated as an object, and the specified method of the class can be called through the instantiated object.
After the interface of the java code drawn target application is run in the java virtual machine to load the target application in the current application, the embodiments of the present invention may also implement various functions of the target application based on the current application, for example, the target application interacts with a user, the target application interacts with the current application, and the like, which will be described in detail below.
In case one, the target application interacts with the user. That is, when an operation request of a user for a target application is received, the created class loader loads java code corresponding to the operation request to the java virtual machine so as to execute an operation corresponding to the operation request in the java virtual machine.
For example, the current application is an enterprise collaboration application, such as a bluetooth app, etc., and the target application is a travel app that implements functions of travel application, reimbursement, etc., and the target application (travel app) is loaded in the current application (such as the bluetooth app) according to the above steps S102 to S106. Next, the user may perform an operation on the travel app, such as submitting a travel application or submitting an reimbursement application, and the like, and when the corresponding component of the travel app receives an operation request of the user, the created class loader may load java code corresponding to the operation request to the java virtual machine, so as to execute an operation corresponding to the operation request in the java virtual machine, for example, the travel app submits corresponding operation data to its cloud server, and the like.
And in case two, the target application interacts with the current application. That is, when an interaction request for interaction between the target application and the current application is received, the created class loader loads java code corresponding to the interaction request to the java virtual machine so as to execute interaction operation corresponding to the interaction request in the java virtual machine.
Still taking the above example as an example, after the business travel app is loaded in the bluetooth app, the business travel app may perform an interactive operation with the bluetooth app, for example, after the user submits the business travel application on the business travel app, the relevant information of the business travel application may be sent to one or more contacts (such as colleagues or leaders) on the bluetooth app. Specifically, after the business travel app generates a business travel application, the related information of the business travel application is provided to an interaction component on the blue letter app, the interaction component submits the related information of the business travel application to a contact communication component on the blue letter app, and then the contact communication component provides the related information of the business travel application to each contact. The interaction component and the contact communication component mentioned herein refer to components having corresponding functions, and specific component names are not limited in the embodiments of the present invention.
And in case three, the current application interacts with the target application. That is, when an interactive request for the interaction between the current application and the target application is received, the class loader of the current application loads java code corresponding to the interactive request to the java virtual machine so as to execute interactive operation corresponding to the interactive request on the java virtual machine.
Still taking the above example as an example, after the business travel app is loaded in the bluetooth app, the business travel app may interact with the bluetooth app, for example, the bluetooth app needs to search for business travel applications for a specific contact to determine the recent work stage of the contact. Specifically, the Bluetooth app finds the contact person, then provides the information of the contact person to a contact person management component on the travel app, the contact person management component finds the travel application of the contact person, and the found travel application is returned to the Bluetooth app.
In an optional embodiment of the present invention, the acquiring of the apk file of the target application corresponding to the entry in step S102 may be first obtained by searching from an operating system where the current application is located, or may be directly obtained from a cloud server, which is described below with respect to various manners.
In the first mode, the current application is searched and obtained from the operating system. Specifically, the apk file of the target application can be searched in the operating system where the current application is located, and if the apk file of the target application in the operating system where the current application is located is searched, the apk file of the target application in the operating system where the current application is located is obtained; if the target application is not found, a request for obtaining the apk file of the target application can be sent to the cloud server, and the apk file of the target application returned by the cloud server according to the request is received.
And in the second mode, the information is directly obtained from the cloud server. Specifically, a request for obtaining the apk file of the target application may be directly sent to the cloud server, and the apk file of the target application returned by the cloud server according to the request may be received.
In an optional embodiment of the present invention, when the resource data in the apk file of the target application changes, the changed resource data and the java code may be repackaged and packaged into a new data packet, and the new data packet is downloaded to the specified directory of the current application. Compared with the prior art that the resource data of the target application is packaged to the current application, the current application needs to be changed and installed again when the resource data changes, the scheme provided by the embodiment of the invention only needs to repackage the changed resource data and the java code, package the repackaged resource data and the java code into a new data packet, and download the new data packet to the specified directory of the current application, so that the efficiency of updating the resource data can be improved, and the resources consumed in the updating process can be saved. In addition, in a general situation, the current application does not acquire all resource data of the target application (for example, the resource data of the target application may be updated regularly or irregularly), so that there is a case that the resource data is updated frequently, and if the current application needs to be changed and installed again each time the resource data is updated as in the prior art, the problems of resource waste and low update efficiency may be caused. By adopting the scheme provided by the embodiment of the invention, the changed resource data and the java code are only required to be repackaged and packaged into a new data packet each time, and the new data packet is downloaded to the specified directory of the current application, so that the implementation is flexible.
In an alternative embodiment of the present invention, in order to improve the security and reliability of the data, before the apk file of the target application in the designated directory is executed in step S106, the apk file of the target application in the designated directory may also be checked, and after the checking is passed, a subsequent execution operation may be performed.
The implementation process of the android-based application loading method of the present invention will be described in detail by using an embodiment in a specific application scenario. In this embodiment, the current application is an enterprise collaborative application, bluetooth app, and the target application is a travel app that implements functions of travel application, reimbursement, and the like. Fig. 2 is a flowchart illustrating an android-based application loading method according to another embodiment of the present invention. As shown in fig. 2, the method may include at least the following steps S202 to S214.
In step S202, an entrance for loading the travel app is provided in the bluetooth app.
As shown in fig. 3, an entrance 1 to load a travel app is provided on the workbench of the blu app. In addition, a portal 2 for loading other target applications is also provided on the workbench, and thus, a plurality of portals can be provided in the bluetooth app, each portal corresponds to one target application, and when a portal is triggered, an apk file of the target application corresponding to the portal can be acquired.
In step S204, when the entry is triggered, the apk file of the travel app is acquired.
In this step, the operating system of the bluetooth app is searched and obtained first, or the operating system of the bluetooth app is directly obtained from the cloud server. Specifically, an apk file of the travel app can be searched in an operating system where the bluetooth app is located, and if the apk file of the travel app is searched, the apk file of the travel app in the operating system where the bluetooth app is located is obtained; if the business trip app is not found, a request for obtaining the apk file of the business trip app can be sent to the cloud server, and the apk file of the business trip app returned by the cloud server according to the request is received. Or, a request for obtaining the apk file of the travel app can be directly sent to the cloud server, and the apk file of the travel app returned by the cloud server according to the request is received.
In step S206, the apk file of the travel app is saved to the specified directory of the blue letter app.
In this step, the specified directory of the bluetooth app may be as/data/data/lanxin, although this is merely illustrative and not a limitation of the present invention.
In an optional embodiment, if the resource data in the apk file of the travel app changes, the changed resource data and the java code may be repackaged and packaged into a new data packet, and the new data packet is downloaded to the specified directory of the current application. For example, the travel app V1.0 has 10 files (c1.apk) and will decompress into it, and V2.0 has 20 files, and the 20 files are not written into the apk, and the 20 files will be the next new apk (c2.apk), and the file will decompress to the bottom of the specified directory and will not change the files in the apk.
Step S208, acquiring the relevant information of the travel app from the specified directory, and registering the relevant information of the travel app into the Bluetooth app.
Step S210, create a class loader in the blu-ray app.
In this step, a new class loader can be applied to the java virtual machine by the class loader of the blu-ray app as the class loader created in the blu-ray app.
In step S212, a proxy resource manager is created, and the proxy resource manager manages resource data in the apk file of the travel app in the designated directory.
Step S214, loading the java code in the apk file of the travel app in the specified directory to the java virtual machine by the created class loader, and further running the java code in the java virtual machine to draw an interface of the travel app so as to load the travel app in the bluetooth app.
In this step, the java virtual machine may be a virtual machine that is being used by the bluetooth app, or may be a newly-built virtual machine, and in actual application, the java virtual machine may be configured according to specific requirements, which is not limited in this embodiment of the present invention.
In the process of loading the java code in the apk file of the travel app in the specified directory to the java virtual machine by the created class loader, a specified method for acquiring resources can be called, and corresponding resource data is acquired from the proxy resource manager by the specified method. The specified method can be a method of the class, the class can be instantiated as an object, and the specified method of the class can be called through the instantiated object. As shown in fig. 4, which is an interface diagram of loading the travel app in the bluetooth app, when the user clicks the "return" button, the user can return to the workbench interface of the bluetooth app.
In order to improve the safety and reliability of data, before the created class loader loads the java code in the apk file of the travel app in the specified directory to the java virtual machine in step S214, the apk file of the travel app in the specified directory may also be verified, and after the verification is passed, a subsequent loading operation is performed, and if the verification is not passed, then alarm information is generated.
In an optional embodiment of the present invention, in step S214, the java code is run in the java virtual machine to draw an interface of the travel app, so that after the travel app is loaded in the bluetooth app, the embodiment of the present invention may further implement various functions of the travel app based on the bluetooth app, for example, the travel app interacts with a user, the travel app interacts with the bluetooth app, and the like, which will be described in the following examples.
First, the travel app interacts with the user.
The user can operate on the travel app, such as submitting a travel application or submitting an reimbursement application, and the like, when a corresponding component of the travel app receives an operation request of the user, the created class loader can load a java code corresponding to the operation request to the java virtual machine so as to execute an operation corresponding to the operation request in the java virtual machine, for example, the travel app submits corresponding operation data to a cloud server of the user, and the like.
Next, the interaction of the travel app with the blue letter app is introduced.
After the user submits the travel application through the travel app, the user may send the relevant information of the travel application to one or more contacts (e.g., colleagues or leaders) on the blue letter app. Specifically, after the travel app generates a travel application, the related information of the travel application is provided to an interaction component on the blue letter app, the interaction component submits the related information of the travel application to a contact communication component on the blue letter app, and then the contact communication component provides the related information of the travel application to each contact on the blue letter app. The interaction component and the contact communication component mentioned herein refer to components having corresponding functions, and specific component names are not limited in the embodiments of the present invention.
Again, the bluetooth app interacts with the travel app.
The blue letter app needs to look up the travel application for a given contact to determine the recent work class of the contact. Specifically, the Bluetooth app finds the contact person, then provides the information of the contact person to a contact person management component on the travel app, the contact person management component finds the travel application of the contact person, and the found travel application is returned to the Bluetooth app.
Based on the android-based application loading method provided by each embodiment, based on the same inventive concept, the embodiment of the invention further provides an android-based application loading device.
Fig. 5 is a schematic structural diagram of an android-based application loading apparatus according to an embodiment of the present invention. As shown in fig. 5, the apparatus may include at least an entry providing module 510, an obtaining module 520, a saving module 530, and an executing module 540.
The functions of the components or devices of the application loading device based on android and the connection relationship between the components are described as follows:
a portal providing module 510 adapted to provide a portal for loading a target application in a current application;
an obtaining module 520, coupled to the entry providing module 510, adapted to obtain an apk file of a target application corresponding to the entry when the entry is triggered;
a saving module 530, coupled to the obtaining module 520, adapted to save the apk file of the target application to the specified directory of the current application;
the running module 540 is coupled to the saving module 530 and adapted to run the apk file of the target application in the specified directory to load the target application in the current application.
In an embodiment of the present invention, as shown in fig. 6, the apk file of the target application includes java code and resource data, and the running module 540 includes:
a creating unit 541 adapted to create a class loader in the current application;
a loading unit 542, coupled to the creating unit 541, adapted to load, by the created class loader, java code in an apk file of the target application in the specified directory into a java virtual machine;
and the drawing unit 543, coupled to the loading unit 542, is adapted to run java code in a java virtual machine to draw the interface of the target application.
In an embodiment of the present invention, the creating unit 541 is further adapted to:
and applying a new class loader from the class loader of the current application to the java virtual machine to serve as the class loader established in the current application.
In an embodiment of the present invention, as shown in fig. 6, the apparatus shown in fig. 5 above may further include:
a creating module 610, coupled to the saving module 530 and the running module 540, adapted to create a proxy resource manager before the running module 540 runs the apk file of the target application in the specified directory, and manage resource data in the apk file of the target application in the specified directory by the proxy resource manager.
In an embodiment of the present invention, the loading unit 542 is further adapted to:
calling a specified method for acquiring resources in the process of loading java code in the apk file of the target application in the specified directory to a java virtual machine by the created class loader, and acquiring corresponding resource data from the proxy resource manager by the specified method.
In an embodiment of the present invention, as shown in fig. 6, the apparatus shown in fig. 5 above may further include:
the first processing module 620, coupled to the drawing unit 543, is adapted to receive an operation request of a user for a target application after the drawing unit 543 runs java code in a java virtual machine to draw an interface of the target application, and load, by the created class loader, java code corresponding to the operation request to the java virtual machine, so as to execute an operation corresponding to the operation request in the java virtual machine.
In an embodiment of the present invention, as shown in fig. 6, the apparatus shown in fig. 5 above may further include:
the second processing module 630, coupled to the drawing unit 543, is adapted to, after the drawing unit 543 runs java code in a java virtual machine to draw an interface of the target application, when an interaction request for interaction between the target application and the current application is received, load, by the created class loader, java code corresponding to the interaction request to the java virtual machine, so as to execute an interaction operation corresponding to the interaction request in the java virtual machine.
In an embodiment of the present invention, as shown in fig. 6, the apparatus shown in fig. 5 above may further include:
the packaging module 640 is adapted to repackage the changed resource data and the java code to package the changed resource data into a new data packet when the resource data in the apk file of the target application is changed;
the downloading module 650, coupled to the packaging module 640 and the saving module 530, is adapted to download the new data package to the specified directory of the current application.
In an embodiment of the present invention, the obtaining module 520 is further adapted to:
searching an apk file of the target application in an operating system where the current application is located;
and if the target application is found, acquiring the apk file of the target application in the operating system where the current application is located.
In an embodiment of the present invention, the obtaining module 520 is further adapted to:
if the apk file of the target application is not found in the operating system of the current application, sending a request for obtaining the apk file of the target application to a cloud server;
and receiving the apk file of the target application returned by the cloud server according to the request.
In an embodiment of the present invention, as shown in fig. 6, the apparatus shown in fig. 5 above may further include:
a registration module 660, coupled to the saving module 530, adapted to obtain the relevant information of the target application from the specified directory before the running module 540 runs the apk file of the target application in the specified directory; and registering the relevant information of the target application into the current application.
In an embodiment of the present invention, as shown in fig. 6, the apparatus shown in fig. 5 above may further include:
the checking module 670, coupled to the saving module 530, is adapted to check the apk file of the target application in the specified directory before the running module 540 runs the apk file of the target application in the specified directory, and perform subsequent running operations after the check is passed.
According to any one or a combination of the above preferred embodiments, the following advantages can be achieved by the embodiments of the present invention:
the embodiment of the invention provides an android-based application loading scheme, and particularly realizes that an entry for loading a target application is provided in the current application, and the entry can be triggered when a user needs to use the target application. Therefore, when a user needs to use the target application, the technical scheme provided by the embodiment of the invention can directly load the target application in the current application without switching between the two applications, thereby saving the operation time and improving the use experience of the user. In addition, the target application in the embodiment of the invention is independent, a developer is not required to develop the current application in advance, the target application is used as a function of the current application, the current application is not increased, and the problem that the current application is increased due to the fact that the developer needs to write the function of the target application into the current application as a function of the current application in the prior art is solved.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in an android-based application loading device in accordance with embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
Thus, it should be appreciated by those skilled in the art that while a number of exemplary embodiments of the invention have been illustrated and described in detail herein, many other variations or modifications consistent with the principles of the invention may be directly determined or derived from the disclosure of the present invention without departing from the spirit and scope of the invention. Accordingly, the scope of the invention should be understood and interpreted to cover all such other variations or modifications.
In one aspect of the embodiments of the present invention, a1, an android-based application loading method is provided, including:
providing an entrance for loading a target application in a current application, and acquiring an apk file of the target application corresponding to the entrance when the entrance is triggered;
saving the apk file of the target application to a specified directory of the current application;
and running the apk file of the target application in the specified directory to load the target application in the current application.
A2, the method according to A1, wherein the apk file of the target application includes java code and resource data, and the running of the apk file of the target application in the specified directory includes:
creating a class loader in the current application;
loading java code in an apk file of the target application in the specified directory to a java virtual machine by the created class loader;
and running java codes in the java virtual machine to draw the interface of the target application.
A3, the method of A2, wherein creating a class loader in the current application comprises:
and applying a new class loader from the class loader of the current application to the java virtual machine to serve as the class loader established in the current application.
A4, the method according to A2 or A3, wherein before running the apk file of the target application in the designated directory, the method further comprises:
creating a proxy resource manager that manages resource data in the apk file of the target application in the specified directory.
A5, the method according to A4, wherein in the process of loading java code in the apk file of the target application in the specified directory into a java virtual machine by the created class loader, the method further comprises:
and calling a specified method for acquiring the resource, and acquiring corresponding resource data from the proxy resource manager by the specified method.
A6, the method according to any one of A2-A5, wherein after the java code is run in a java virtual machine to draw the interface of the target application, the method further comprises:
and receiving an operation request of a user for the target application, and loading java codes corresponding to the operation request to a java virtual machine by the created class loader so as to execute the operation corresponding to the operation request in the java virtual machine.
A7, the method according to any one of A2-A6, wherein after the java code is run in a java virtual machine to draw the interface of the target application, the method further comprises:
and when an interactive request for the target application to interact with the current application is received, the created class loader loads java codes corresponding to the interactive request to a java virtual machine so as to execute interactive operation corresponding to the interactive request on the java virtual machine.
A8, the method according to any one of A2-A7, wherein when the resource data in the apk file of the target application changes, the method further comprises:
repackaging the changed resource data and the java code, and packaging into a new data packet;
and downloading the new data packet to a specified directory of the current application.
A9, the method according to any one of A1-A8, wherein the obtaining the apk file of the target application corresponding to the portal includes:
searching an apk file of the target application in an operating system where the current application is located;
and if the target application is found, acquiring the apk file of the target application in the operating system where the current application is located.
A10, the method according to a9, wherein if the apk file of the target application is not found in the operating system of the current application, the method further comprises:
sending a request for acquiring an apk file of the target application to a cloud server;
and receiving the apk file of the target application returned by the cloud server according to the request.
A11, the method according to any one of A1-A10, wherein before running the apk file of the target application in the specified directory, the method further comprises:
acquiring relevant information of the target application from the specified directory;
and registering the relevant information of the target application into the current application.
A12, the method according to any one of A1-A11, wherein before running the apk file of the target application in the specified directory, the method further comprises:
and checking the apk file of the target application in the specified directory, and executing subsequent operation after the checking is passed.
On the other hand, the embodiment of the present invention further provides B13, an application loading apparatus based on android, including:
the system comprises a portal providing module, a target application loading module and a display module, wherein the portal providing module is suitable for providing a portal for loading the target application in the current application;
the acquisition module is suitable for acquiring the apk file of the target application corresponding to the entry when the entry is triggered;
the storage module is suitable for storing the apk file of the target application into the specified directory of the current application;
and the running module is suitable for running the apk file of the target application in the specified directory so as to load the target application in the current application.
The device according to B13 and B14, wherein the apk file of the target application comprises java code and resource data, and the running module comprises:
a creating unit adapted to create a class loader in the current application;
the loading unit is suitable for loading java codes in the apk file of the target application in the specified directory to a java virtual machine by the created class loader;
and the drawing unit is suitable for running java codes in a java virtual machine to draw the interface of the target application.
B15, the apparatus according to B14, wherein the creating unit is further adapted to:
and applying a new class loader from the class loader of the current application to the java virtual machine to serve as the class loader established in the current application.
B16, the device according to B14 or B15, wherein further comprising:
the creation module is suitable for creating a proxy resource manager before the operation module operates the apk file of the target application in the specified directory, and the proxy resource manager manages resource data in the apk file of the target application in the specified directory.
B17, the apparatus according to B16, wherein the loading unit is further adapted to:
calling a specified method for acquiring resources in the process of loading java code in the apk file of the target application in the specified directory to a java virtual machine by the created class loader, and acquiring corresponding resource data from the agent management resource device by the specified method.
B18, the device according to any one of B14-B17, further comprising:
the first processing module is suitable for receiving an operation request of a user for the target application after the drawing unit runs java code in a java virtual machine to draw an interface of the target application, and the created class loader loads java code corresponding to the operation request to the java virtual machine so as to execute an operation corresponding to the operation request in the java virtual machine.
B19, the device according to any one of B14-B18, further comprising:
and the second processing module is suitable for loading java codes corresponding to the interaction requests to the java virtual machine by the created class loader when the interaction requests for the interaction between the target application and the current application are received after the drawing unit runs the java codes in the java virtual machine to draw the interface of the target application, so as to execute the interaction operations corresponding to the interaction requests in the java virtual machine.
B20, the device according to any one of B14-B19, further comprising:
the packaging module is suitable for repackaging the changed resource data and java codes to package into a new data packet when the resource data in the apk file of the target application is changed;
and the downloading module is suitable for downloading the new data packet to the specified directory of the current application.
B21, the apparatus according to any one of B13-B20, wherein the obtaining module is further adapted to:
searching an apk file of the target application in an operating system where the current application is located;
and if the target application is found, acquiring the apk file of the target application in the operating system where the current application is located.
B22, the apparatus according to B21, wherein the obtaining module is further adapted to:
if the apk file of the target application is not found in the operating system of the current application, sending a request for obtaining the apk file of the target application to a cloud server;
and receiving the apk file of the target application returned by the cloud server according to the request.
B23, the device according to any one of B13-B22, further comprising:
the registration module is suitable for acquiring the relevant information of the target application from the specified directory before the apk file of the target application in the specified directory is run by the running module; and registering the relevant information of the target application into the current application.
B24, the device according to any one of B13-B22, further comprising:
the verification module is suitable for verifying the apk file of the target application in the specified directory before the operation module operates the apk file of the target application in the specified directory, and executing subsequent operation after the verification is passed.

Claims (22)

1. An android-based application loading method comprises the following steps:
providing an entrance for loading a target application in a current application, and acquiring an apk file of the target application corresponding to the entrance when the entrance is triggered;
saving the apk file of the target application to a specified directory of the current application;
running an apk file of the target application in the specified directory to load the target application in the current application;
each entry corresponds to a plurality of target applications, and when the entry is triggered, the apk file of the target application corresponding to the entry is acquired, including:
selecting one target application from a plurality of target applications corresponding to the entrance, and acquiring an apk file of the selected target application;
the apk file of the target application comprises java codes and resource data; when the resource data in the apk file of the target application is changed, the method further comprises the following steps:
repackaging the changed resource data and the java code, and packaging into a new data packet;
and downloading the new data packet to a specified directory of the current application.
2. The method of claim 1, wherein running the apk file of the target application in the specified directory comprises:
creating a class loader in the current application;
loading java code in an apk file of the target application in the specified directory to a java virtual machine by the created class loader;
and running java codes in the java virtual machine to draw the interface of the target application.
3. The method of claim 2, wherein creating a class loader in the current application comprises:
and applying a new class loader from the class loader of the current application to the java virtual machine to serve as the class loader established in the current application.
4. The method of claim 2 or 3, wherein prior to running the apk file of the target application in the specified directory, the method further comprises:
creating a proxy resource manager that manages resource data in the apk file of the target application in the specified directory.
5. The method of claim 4, wherein, in loading java code in the apk file of the target application in the specified directory into a java virtual machine by the created class loader, the method further comprises:
and calling a specified method for acquiring the resource, and acquiring corresponding resource data from the proxy resource manager by the specified method.
6. The method of claim 2, wherein after running java code in a java virtual machine to draw an interface of the target application, the method further comprises:
and receiving an operation request of a user for the target application, and loading java codes corresponding to the operation request to a java virtual machine by the created class loader so as to execute the operation corresponding to the operation request in the java virtual machine.
7. The method of claim 2, wherein after running java code in a java virtual machine to draw an interface of the target application, the method further comprises:
and when an interactive request for the target application to interact with the current application is received, the created class loader loads java codes corresponding to the interactive request to a java virtual machine so as to execute interactive operation corresponding to the interactive request on the java virtual machine.
8. The method of claim 1, wherein obtaining the apk file of the target application corresponding to the portal comprises:
searching an apk file of the target application in an operating system where the current application is located;
and if the target application is found, acquiring the apk file of the target application in the operating system where the current application is located.
9. The method of claim 8, wherein if the apk file of the target application is not found in the operating system in which the current application is located, the method further comprises:
sending a request for acquiring an apk file of the target application to a cloud server;
and receiving the apk file of the target application returned by the cloud server according to the request.
10. The method of claim 1, wherein prior to running the apk file of the target application in the specified directory, the method further comprises:
acquiring relevant information of the target application from the specified directory;
and registering the relevant information of the target application into the current application.
11. The method of claim 1, wherein prior to running the apk file of the target application in the specified directory, the method further comprises:
and checking the apk file of the target application in the specified directory, and executing subsequent operation after the checking is passed.
12. An android-based application loading device, comprising:
the system comprises a portal providing module, a target application loading module and a display module, wherein the portal providing module is suitable for providing a portal for loading the target application in the current application;
the acquisition module is suitable for acquiring the apk file of the target application corresponding to the entry when the entry is triggered;
the storage module is suitable for storing the apk file of the target application into the specified directory of the current application;
the running module is suitable for running the apk file of the target application in the specified directory so as to load the target application in the current application;
wherein each portal corresponds to a plurality of target applications, the portal providing module is further adapted to:
selecting one target application from a plurality of target applications corresponding to the entrance, and acquiring an apk file of the selected target application;
wherein, the apk file of the target application comprises java code and resource data, and the device further comprises:
the packaging module is suitable for repackaging the changed resource data and java codes to package into a new data packet when the resource data in the apk file of the target application is changed;
and the downloading module is suitable for downloading the new data packet to the specified directory of the current application.
13. The apparatus of claim 12, wherein the means for operating comprises:
a creating unit adapted to create a class loader in the current application;
the loading unit is suitable for loading java codes in the apk file of the target application in the specified directory to a java virtual machine by the created class loader;
and the drawing unit is suitable for running java codes in a java virtual machine to draw the interface of the target application.
14. The apparatus according to claim 13, wherein the creating unit is further adapted to:
and applying a new class loader from the class loader of the current application to the java virtual machine to serve as the class loader established in the current application.
15. The apparatus of claim 13 or 14, further comprising:
the creation module is suitable for creating a proxy resource manager before the operation module operates the apk file of the target application in the specified directory, and the proxy resource manager manages resource data in the apk file of the target application in the specified directory.
16. The apparatus of claim 15, wherein the loading unit is further adapted to:
calling a specified method for acquiring resources in the process of loading java code in the apk file of the target application in the specified directory to a java virtual machine by the created class loader, and acquiring corresponding resource data from the proxy resource manager by the specified method.
17. The apparatus of claim 13, further comprising:
the first processing module is suitable for receiving an operation request of a user for the target application after the drawing unit runs java code in a java virtual machine to draw an interface of the target application, and the created class loader loads java code corresponding to the operation request to the java virtual machine so as to execute an operation corresponding to the operation request in the java virtual machine.
18. The apparatus of claim 13, further comprising:
and the second processing module is suitable for loading java codes corresponding to the interaction requests to the java virtual machine by the created class loader when the interaction requests for the interaction between the target application and the current application are received after the drawing unit runs the java codes in the java virtual machine to draw the interface of the target application, so as to execute the interaction operations corresponding to the interaction requests in the java virtual machine.
19. The apparatus of claim 12, wherein the acquisition module is further adapted to:
searching an apk file of the target application in an operating system where the current application is located;
and if the target application is found, acquiring the apk file of the target application in the operating system where the current application is located.
20. The apparatus of claim 19, wherein the acquisition module is further adapted to:
if the apk file of the target application is not found in the operating system of the current application, sending a request for obtaining the apk file of the target application to a cloud server;
and receiving the apk file of the target application returned by the cloud server according to the request.
21. The apparatus of claim 12, further comprising:
the registration module is suitable for acquiring the relevant information of the target application from the specified directory before the apk file of the target application in the specified directory is run by the running module; and registering the relevant information of the target application into the current application.
22. The apparatus of claim 12, further comprising:
the verification module is suitable for verifying the apk file of the target application in the specified directory before the operation module operates the apk file of the target application in the specified directory, and executing subsequent operation after the verification is passed.
CN201611123921.2A 2016-12-08 2016-12-08 Android-based application loading method and device Active CN106598662B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611123921.2A CN106598662B (en) 2016-12-08 2016-12-08 Android-based application loading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611123921.2A CN106598662B (en) 2016-12-08 2016-12-08 Android-based application loading method and device

Publications (2)

Publication Number Publication Date
CN106598662A CN106598662A (en) 2017-04-26
CN106598662B true CN106598662B (en) 2020-04-10

Family

ID=58598585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611123921.2A Active CN106598662B (en) 2016-12-08 2016-12-08 Android-based application loading method and device

Country Status (1)

Country Link
CN (1) CN106598662B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595220B (en) * 2018-04-25 2021-04-16 上海掌门科技有限公司 Application component processing method and device and computer readable storage medium
CN109710332A (en) * 2018-12-28 2019-05-03 上海掌门科技有限公司 Processing method, equipment and the computer readable storage medium of boarding application
CN109960541B (en) * 2019-03-15 2022-07-29 上海连尚网络科技有限公司 Method, apparatus and computer storage medium for starting an applet
CN114595010A (en) * 2022-03-11 2022-06-07 Oppo广东移动通信有限公司 Service calling system, method, device and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365644B (en) * 2012-04-10 2016-05-11 腾讯科技(深圳)有限公司 A kind of method and device of expanding software function
CN104731568A (en) * 2013-12-23 2015-06-24 朱晓东 Application program operation method and device
CN104965722B (en) * 2014-07-29 2018-09-18 腾讯科技(深圳)有限公司 A kind of method and device of display information
CN104267977B (en) * 2014-09-16 2017-12-29 小米科技有限责任公司 application program operation method and device
CN105094922B (en) * 2015-08-17 2019-03-05 北京奇虎科技有限公司 Application program exempts from installation and operation control method and its device

Also Published As

Publication number Publication date
CN106598662A (en) 2017-04-26

Similar Documents

Publication Publication Date Title
JP6294886B2 (en) Generate native code from intermediate language code for applications
WO2017050094A1 (en) Method and apparatus for loading application program
CN106598662B (en) Android-based application loading method and device
CN109240697B (en) Call processing method and device and storage medium
CN103777967A (en) Page returning method and page generating method and device
JP7106001B2 (en) SUB-APPLICATION DEVELOPMENT METHOD, APPARATUS, COMPUTER DEVICE, AND COMPUTER PROGRAM
JP2014523022A5 (en)
CN111782300A (en) Data processing method, device, equipment and system
US9910724B2 (en) Fast and accurate identification of message-based API calls in application binaries
CN108376066B (en) Code processing device and code processing method
CN108845800B (en) Method, device, equipment and storage medium for realizing component extension function
JP2006048645A (en) Method and system for embedding context information in document
CN108021445B (en) Memory optimization method, device and system and computer readable storage medium
CN110704131B (en) Method and device for calling native application by HTML5 application
CN108804120B (en) Page construction method, device, equipment and storage medium
US20050193101A1 (en) Execution of unverified programs in a wireless, device operating environment
Späth Pro Android with Kotlin: Developing Modern Mobile Apps
US10552135B1 (en) Reducing a size of an application package
CN107092472B (en) Dynamic publishing method and device
CN106775608B (en) Method and device for realizing independent system process
CN112416418A (en) Application component generation method and device, computer equipment and readable storage medium
CN109857374B (en) Development method and device of mobile application
US10839037B2 (en) Connected application experience
CN111475148A (en) Third-party dependent library isolation method and device, electronic equipment and storage medium
KR20130020135A (en) System and method of providing the developer list of developing code simultaneously in an integrated development environment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100041 A-0337, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant after: Blue letter mobile (Beijing) Technology Co., Ltd.

Address before: 100041 A-0337, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant before: Lanseen workshop (Beijing) Technology Co. Ltd.

GR01 Patent grant
GR01 Patent grant