Automatic lifecycle management for pages on a mobile application
First Claim
1. A computer-implemented method of displaying information on a mobile device, comprising:
- displaying an instance of a first user interface page for a first application on a display screen of the mobile device;
in response to a registration request from the instance of the first user interface page, registering an identification of page state information, to be restored, in a first data structure;
receiving a request to navigate away from the first application;
storing values, from the instance of the first user interface page, for the page state information registered in the first data structure, in an instance-specific data structure corresponding to the instance of the first user interface page;
upon navigating back to the first user interface page of the first application, accessing the instance-specific data structure corresponding to the instance of the first user interface page;
obtaining the values for the page state information stored in the instance specific data structure; and
displaying the first user interface page using the values for the page state information obtained from the instance-specific data structure.
3 Assignments
0 Petitions
Accused Products
Abstract
User interface state (UI) information (such as UI control values) are stored and revived when the user navigates and returns to an application. When an instance of a page is created, the page registers with a tombstone list and indicates which page state information on the page is to be stored and revived when a user navigates away from the application. When the user provides an input indicating navigation away from the application, the application accesses the tombstone list and stores the UI page state information. UI page state information is stored in a page state dictionary data structure that corresponds to the current instance of the page. Then, when the user navigates back to the application, the application accesses the page state dictionary and restores the values of the UI page state information so that the user interface display is in the same state as when the user navigated away from the application.
16 Citations
20 Claims
-
1. A computer-implemented method of displaying information on a mobile device, comprising:
-
displaying an instance of a first user interface page for a first application on a display screen of the mobile device; in response to a registration request from the instance of the first user interface page, registering an identification of page state information, to be restored, in a first data structure; receiving a request to navigate away from the first application; storing values, from the instance of the first user interface page, for the page state information registered in the first data structure, in an instance-specific data structure corresponding to the instance of the first user interface page; upon navigating back to the first user interface page of the first application, accessing the instance-specific data structure corresponding to the instance of the first user interface page; obtaining the values for the page state information stored in the instance specific data structure; and displaying the first user interface page using the values for the page state information obtained from the instance-specific data structure. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A mobile device, comprising:
-
a first application with first and second user interface display pages that both derive from a page class that has storage and revival functionality for storing and reviving user interface page state information for the first and second user interface pages, both of the first and second user interface pages inheriting the storage and retrieval functionality of the page class; an operating system that controls navigation to, and away from, the first application, the storage and retrieval functionality receiving an indication to navigate away from the first application and storing user interface page state information from the first and second user interface display pages, if they are open in the first application, and restoring the stored user interface page state information to one of the first and second user interface display pages upon receiving an indication to navigate back to the first application; and a processor, being a functional part of the mobile device and activated by the first application and the operating system to facilitate the storage and revival functionality and navigation. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A hardware computer readable storage medium, storing computer readable instructions which, when executed by a computer, cause the computer to perform steps comprising:
-
displaying an instance of a first user interface page for a first application on a display screen of the mobile device; receiving a registration request from the first user interface page to store page state information types that are to be stored when the computer navigates away from the first application; in response to the registration request, registering an identification of the page state information types in a first data structure; receiving a request to navigate away from the first application; storing page state values, from the instance of the first user interface page, for the page state information types registered in the first data structure, in an instance-specific data structure corresponding to the instance of the first user interface page; upon navigating back to the first user interface page of the first application, accessing the instance-specific data structure corresponding to the instance of the first user interface page; obtaining the page state values stored in the instance specific data structure; restoring the page state values to the first user interface page; and displaying the first user interface page using the restored page state values obtained from the instance-specific data structure. - View Dependent Claims (19, 20)
-
Specification