Uniform resource identifier and image sharing for contextual information display
Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for generating, in response to a single input operating system command that is invoked independent of a native application, a message that includes an image of a particular environment instance of the native application that was displayed when the single input operating system command and a uniform resource identifier of the particular environment instance of the native application.
1. A computer-implemented method implemented in a user device, the method comprising:
displaying, on a display of the user device, active content of a particular environment instance of a native application that can display a plurality of different environment instances,
wherein the native application is an application operable to generate the plurality of different environment instances for display within the native application on the user device, and
wherein the active content is a currently displayed portion of a total content of the particular environment instance capable of being displayed;
receiving, at the user device and while the active content of the particular environment instance is an active focus of the display, a single input operating system command that is a command invoked independent of the native application;
in response to the single input operating system command:
generating a query-independent request for text or multimedia content relevant to the active content;
transmitting the query-independent request to a search system; and
receiving, from the search system, the text or multimedia content,
wherein the text or multimedia content is responsive to the query-independent request and includes at least one of: text content, audio content, and video content;
displaying, on the display, a content sharing card that includes a share command and the text or multimedia content; and
in response to a selection of the share command during display of the content sharing card:
determining a recipient address specifying a recipient device that is separate from the user device;
accessing viewport display data of the native application;
generating, based on the viewport display data of the native application, an image of the active content of the particular environment instance of the native application;
selecting a uniform resource identifier of the particular environment instance of the native application;
generating a message that includes the image of the particular environment instance and the uniform resource identifier; and
sending, to the recipient address, the message that includes the image of the active content of the particular environment instance and the uniform resource identifier.
2. The computer-implemented method of claim 1 , wherein generating the message that includes the image of the particular environment instance and the uniform resource identifier comprises embedding the uniform resource identifier in image metadata of the image, wherein in response to a navigation command on the image at the recipient device receiving the message the recipient device will instantiate the native application at the particular environment instance addressed by the uniform resource identifier.
3. The computer-implemented method of claim 1 , wherein generating the message that includes the image of the particular environment instance and the uniform resource identifier comprises including the uniform resource identifier and the image as separate items that are separately displayed, and wherein in response to a navigation command on the uniform resource identifier at the recipient device receiving the message the recipient device will instantiate the native application at the particular environment instance addressed by the uniform resource identifier.
4. The computer-implemented method of claim 1 , wherein selecting the uniform resource identifier of the particular environment instance of the native application comprises selecting the uniform resource identifier from a user device cache of most recently used uniform resource identifiers.
5. The computer-implemented method of claim 1 , wherein selecting the uniform resource identifier of the particular environment instance of the native application comprises requesting, by the operating system of the user device and from the native application, the uniform resource identifier of the particular environment instance.
6. A user device comprising:
a memory device that stores a set of instructions;
a display; and
at least one processor that executes the set of instructions to:
display, on the display, active content of a particular environment instance of a native application that can display a plurality of different environment instances,
wherein the native application is an application operable to generate the plurality of different environment instances for display within the native application on the user device, and
wherein the active content is a currently displayed portion of a total content of the particular environment instance capable of being displayed;
receiving, at the user device and while the active content of the particular environment instance is an active focus of the display, a single input operating system command that is a command invoked independent of the native application;
in response to the single input operating system command:
generating a query-independent request for text or multimedia content relevant to the active content;
transmitting the query-independent request to a search system; and
receiving, from the search system, the text or multimedia content,
wherein the text or multimedia content is responsive to the query-independent request and includes at least one of: text content, audio content, and video content;
displaying, on the display, a content sharing card that includes a share command and the text or multimedia content; and
in response to a selection of the share command during display of the content sharing card:
determining a recipient address specifying a recipient device that is separate from the user device;
selecting a uniform resource identifier of the particular environment instance of the native application;
generating a message that includes at least a portion of the text or multimedia content and the uniform resource identifier of the particular environment instance of the native application; and
sending, to the recipient address, the message that includes the at least the portion of the text or multimedia content and the uniform resource identifier of the particular environment instance.
7. The user device of claim 6 , wherein the recipient device will instantiate the native application, at the recipient device, at the particular environment instance addressed by the uniform resource identifier in response to a selection of the uniform resource identifier of the message by a recipient user of the recipient device.
8. The user device of claim 7 , wherein the uniform resource identifier of the particular environment instance of the native application included in the message includes one or more query parameters that the native application installed on the recipient device processes to arrive at the particular environment instance.
9. The user device of claim 6 , wherein selecting the uniform resource identifier of the particular environment instance of the native application comprises selecting the uniform resource identifier from a user device cache of most recently used uniform resource identifiers.
10. The user device of claim 6 , wherein selecting the uniform resource identifier of the particular environment instance of the native application comprises requesting, by the operating system of the user device and from the native application, the uniform resource identifier of the particular environment instance.
11. A non-transitory computer readable storage medium storing instructions executable by a user device and upon such execution cause the user device to perform operations comprising:
displaying, on a display of the user device, active content of a particular environment instance of a native application that can display a plurality of different environment instances,
wherein the native application is an application operable to generate the plurality of different environment instances for display within the native application on the user device, and
wherein the active content is a currently displayed portion of a total content of the particular environment instance capable of being displayed;
receiving, at the user device and while the active content of the particular environment instance is an active focus of the display, a single input operating system command that is a command invoked independent of the native application;
in response to the single input operating system command:
generating a query-independent request for text or multimedia content relevant to the active content;
transmitting the query-independent request to a search system; and
receiving, from the search system, the text or multimedia content,
wherein the text or multimedia content is responsive to the query-independent request and includes at least one of: text content, audio content, and video content;
displaying, on the display, a content sharing card that includes a share command and the text or multimedia content; and
in response to a selection of the share command during display of the content sharing card:
determining a recipient address specifying a recipient device that is separate from the user device;
accessing viewport display data of the native application;
generating, based on the viewport display data of the native application, an image of the active content of the particular environment instance of the native application;
selecting a uniform resource identifier of the particular environment instance of the native application;
generating a message that includes the image of the particular environment instance and the uniform resource identifier; and
sending, to the recipient address, the message that includes the image of the active content of the particular environment instance and the uniform resource identifier.
12. The non-transitory computer readable storage medium of claim 11 , wherein the recipient device will instantiate the native application, at the recipient device, at the particular environment instance addressed by the uniform resource identifier in response to a selection of the uniform resource identifier of the message by a recipient user of the recipient device.
13. The non-transitory computer readable storage medium of claim 11 , wherein the uniform resource identifier of the particular environment instance of the native application included in the message includes one or more query parameters that the native application installed on the recipient device processes to arrive at the particular environment instance.
14. The non-transitory computer readable storage medium of claim 11 , wherein selecting the uniform resource identifier of the particular environment instance of the native application comprises selecting the uniform resource identifier from a user device cache of most recently used uniform resource identifiers.
15. The non-transitory computer readable storage medium of claim 11 , wherein selecting the uniform resource identifier of the particular environment instance of the native application comprises requesting, by the operating system of the user device and from the native application, the uniform resource identifier of the particular environment instance.