Display method of multi-application based on Android system, and terminal device
AssigneeBoe Technology Group Co., Ltd.
InventorZhusong Yi
Life of this patent
Estimating the term…
Abstract
A display method of multi-application based on an Android system and a terminal device are provided. The display method includes: upon reception of a first instruction, determining whether a first application is a non-Android application, where the first instruction is configured to start the first application; when the first application is the non-Android application, invoking a non-native display module; and drawing a display interface of the first application based upon the non-native display module.
Claims17
A display method of multi-application based on an Android system, comprising:
- upon reception of a first instruction, determining whether a first application is a non-Android application, wherein the first instruction is configured to start the first application;
- when the first application is the non-Android application, invoking a non-native display module;
- and
- drawing a display interface of the first application based upon the non-native display module;
- when the first application is an Android application, invoking a native display module, and creating a Surface display layer of the first application to draw the display interface of the first application, wherein the native display module is a local display module customized based upon a standard application framework layer of the Android system;
- receiving a second instruction, wherein the second instruction is configured to start a second application;
- when the second application is an Android application and the first application is the non-Android application, backing up display data of the first application into a buffer area, and recovering the backed-up display data into a graphics random access memory unit when switching from the second application to the first application;
- when the second application is an Android application and the first application is the Android application, creating a Surface display layer of the second application to draw a display interface of the second application;
- and invoking the Surface display layer of the first application when switching from the second application to the first application.
A terminal device, comprising:
- at least one processor;
- and
- at least one memory connected with the at least one processor,
- wherein the memory stores instructions executable by the at least one processor, and the at least one processor is configured to execute the instructions stored in the memory:
- upon reception of a first instruction, to determine whether a first application is a non-Android application, wherein the first instruction is configured to start the first application;
- when the first application is the non-Android application, to invoke a non-native display module;
- and
- to draw a display interface of the first application based upon the non-native display module;
- when the first application is an Android application, to invoke a native display module, and create a Surface display layer of the first application to draw the display interface of the first application, wherein the native display module is a local display module customized based upon a standard application framework layer of the Android system;
- to receive a second instruction, wherein the second instruction is configured to start a second application;
- when the second application is an Android application and the first application is the non-Android application, to back up display data of the first application into a buffer area, and recover the backed-up display data into a graphics random access memory unit when switching from the second application to the first application;
- when the second application is an Android application and the first application is the Android application, create a Surface display layer of the second application to draw a display interface of the second application;
- and invoke the Surface display layer of the first application when switching from the second application to the first application.
A non-transitory computer storage medium storing computer program that, when executed by a processor, cause the processor to perform:
- upon reception of a first instruction, determining whether a first application is a non-Android application, wherein the first instruction is configured to start the first application;
- when the first application is the non-Android application, invoking a non-native display module;
- and drawing a display interface of the first application based upon the non-native display module;
- when the first application is an Android application, invoking a native display module, and creating a Surface display layer of the first application to draw the display interface of the first application, wherein the native display module is a local display module customized based upon a standard application framework layer of the Android system;
- receiving a second instruction, wherein the second instruction is configured to start a second application;
- when the second application is an Android application and the first application is the non-Android application, backing up display data of the first application into a buffer area;
- and recovering the backed-up display data into a graphics random access memory unit when switching from the second application to the first application;
- when the second application is an Android application and the first application is the Android application, creating a Surface display layer of the second application to draw a display interface of the second application;
- and invoking the Surface display layer of the first application when switching from the second application to the first application.
Dependencies are inferred from the claim text.