Low-latency transition into embedded web view
First Claim
1. A non-transitory computer readable medium having stored thereon a native application executable by a processing unit to carry out functions comprising:
- caching a web page in data storage of a computing device;
causing the computing device to present a native application view at a user interface;
calling a web view controller while the computing device is presenting the native application view at the user interface;
providing preview data to the web view controller, when calling the web view controller, for incorporation of the preview data in a presentation of the web page at the user interface, wherein the web page as cached defines a web page presentation structure comprising general section placement and generic content; and
wherein calling the web view controller comprises passing to the web view controller a uniform resource identifier (URI) of the web page to cause the web view controller to retrieve the web page from the data storage and to render the retrieved web page, and wherein the web page includes script logic executable by the processing unit to incorporate the provided preview data into the presentation of the web page at the user interface;
wherein the script logic is further executable by the processing unit (i) to download, via a network interface of the computing device, instance data for the web page, while the web page with the incorporated preview data is presented at the user interface, and (ii) upon download of the instance data, to incorporate the instance data into the presentation of the web page at the user interface.
2 Assignments
0 Petitions
Accused Products
Abstract
To help reduce latency when an application presents an embedded web view, the application may provide to a web view controller not only a base uniform resource indicator of a web application defining the web view but also preview data for the web view controller to render for presentation together with a cached version of the web view. In accordance with script logic defined by the web application, the web view controller may then (i) incorporate the provided preview data into the cached version of the web view and render the result as a preview view for presentation at a user interface, (ii) download instance data for the web view while the preview view is presented, and (iii) upon receipt of the instance data, establish and render a full version of the web view based on the instance data, for presentation at the user interface.
-
Citations
30 Claims
-
1. A non-transitory computer readable medium having stored thereon a native application executable by a processing unit to carry out functions comprising:
-
caching a web page in data storage of a computing device; causing the computing device to present a native application view at a user interface; calling a web view controller while the computing device is presenting the native application view at the user interface; providing preview data to the web view controller, when calling the web view controller, for incorporation of the preview data in a presentation of the web page at the user interface, wherein the web page as cached defines a web page presentation structure comprising general section placement and generic content; and wherein calling the web view controller comprises passing to the web view controller a uniform resource identifier (URI) of the web page to cause the web view controller to retrieve the web page from the data storage and to render the retrieved web page, and wherein the web page includes script logic executable by the processing unit to incorporate the provided preview data into the presentation of the web page at the user interface; wherein the script logic is further executable by the processing unit (i) to download, via a network interface of the computing device, instance data for the web page, while the web page with the incorporated preview data is presented at the user interface, and (ii) upon download of the instance data, to incorporate the instance data into the presentation of the web page at the user interface. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A non-transitory computer readable medium having stored thereon a first application and a second application,
the first application being executable by a processing unit to invoke the second application and, when invoking the second application, to provide the second application with preview content, and the second application defining an application view renderable by the processing unit for presentation at a user interface and further defining script logic executable by the processing unit (i) to receive the preview content provided by the first application when invoking the second application, (ii) to incorporate the preview content into the application view to produce a preview view renderable by the processing unit for presentation at the user interface, (iii) to download instance data via a network from a network server while the preview view is being presented at the user interface, and (iv) upon receipt of the downloaded instance data, to establish, based on the instance data, an updated view renderable by the processing unit for presentation at the user interface.
-
15. A computing device comprising:
-
a network interface for communicating data to and from the computing device; a user interface; a processing unit; data storage; a web application cached in the data storage, wherein the web application defines a cached web page structure renderable by the processing unit for presentation at the user interface; and an invoking application stored in the data storage and executable by the processing unit to invoke the web application and, when invoking the web application, to provide preview content to the web application, wherein the cached web page structure comprises general section placement and generic content, wherein the web application further defines script logic executable by the processing unit upon the invocation of the web application (i) to receive the preview content provided by the invoking application, (ii) to incorporate the received preview content into the cached web page structure so as to establish a preview page renderable by the processing unit for presentation at the user interface, (iii) to download, via the network interface, instance content for the web application while the preview page is being presented at the user interface, and (iv) upon receipt of the downloaded instance data, to establish, based on the instance data, an updated page renderable by the processing unit for presentation at the user interface. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. A method comprising:
-
caching a web page in data storage of a computing device, wherein the web page defines a presentation structure and script logic; calling by a processing unit a web view control module and providing preview data to the web view control module when calling the web view control module, to trigger presentation of the web page incorporating the provided preview data, wherein the web page as cached defines a web page presentation structure comprising general section placement and generic content, wherein calling the web view control module includes passing to the web view control module a uniform resource identifier (URI) of the web page, to cause the web view control module to retrieve the web page from the data storage and to render the retrieved web page for presentation at a user interface of the computing device, and wherein the processing unit executes the script logic of the web page to incorporate the provided preview data into the presentation of the web page at the user interface; and executing by the processing unit the script logic of the web page (i) to download, via a network interface of the computing device, instance data for the web page, while the web page with the incorporated preview data is presented at the user interface, and (ii) upon download of the instance data, to incorporate the instance data into the presentation of the web page at the user interface. - View Dependent Claims (26, 27, 28, 29, 30)
-
Specification