Method, device, and storage medium for displaying application page
AssigneeBeijing Xiaomi Mobile Software Co., Ltd.
InventorHongguang Dong
Life of this patent
Estimating the term…
Abstract
The present disclosure discloses a method, device and storage medium for displaying an application page. The method includes: displaying a designated entry of an application, acquiring a configuration file of the application when a triggering operation to the designated entry is detected, and generating a native page of the application for a terminal according to the configuration file of the application and displaying the native page of the application on the terminal when the application is not installed one the terminal.
Claims18
A method for displaying an application page by using a device, comprising:
- displaying a designated entry of an application;
- acquiring a configuration file of the application when a triggering operation to the designated entry is detected;
- obtaining a statement describing the application page from the configuration file;
- analyzing the statement into one or more display elements;
- generating a first virtual tree structure including the one or more display elements;
- converting the one or more display elements included in the first virtual tree structure into one or more views to obtain a second tree structure including the one or more views;
- generating an operable native page of the application by performing page rendering according to the one or more views, wherein the operable native page of the application simulates the application page under installation while allowing the application to be operated without being installed on the device;
- and
- displaying the operable native page of the application when the application is not installed in an operating system of the device.
A device for displaying an application page, comprising:
- one or more processors;
- and
- a non-transitory computer-readable storage medium for storing instructions executable by the one or more processors, wherein the one or more processors are configured to:
- display a designated entry of an application;
- acquire a configuration file of the application when a triggering operation to the designated entry is detected;
- obtain a statement describing the application page from the configuration file;
- analyze the statement into one or more display elements;
- generate a first virtual tree structure including the one or more display elements;
- convert the one or more display elements included in the first virtual tree structure into one or more views to obtain a second tree structure including the one or more views;
- generate an operable native page of the application by performing page rendering according to the one or more views, wherein the operable native page of the application simulates the application page under installation while allowing the application to be operated without being installed on the device;
- and
- display the operable native page of the application when the application is not installed in an operating system of the device.
A non-transitory computer-readable storage medium having stored therein at least one instruction that is executable by one or more processors for displaying an application page, wherein the at least one instruction, when executed, causes the one or more processors to perform acts comprising:
- displaying a designated entry of an application;
- acquiring a configuration file of the application when a triggering operation to the designated entry is detected;
- obtaining a statement describing the application page from the configuration file;
- analyzing the statement into one or more display elements;
- generating a first virtual tree structure including the one or more display elements;
- converting the one or more display elements included in the first virtual tree structure into one or more views to obtain a second tree structure including the one or more views;
- generating an operable native page of the application by performing page rendering according to the one or more views, wherein the operable native page of the application simulates the application page under installation while allowing the application to be operated without being installed on a device displaying the operable native page of the application;
- and
- displaying the operable native page of the application when the application is not installed in an operating system of the device.
Dependencies are inferred from the claim text.