摘要:
A search extensibility application framework enables a hosted web search experience to be extended so that apps which are related to a search query can be presented to a user of a client computing device such as a smartphone. In various illustrative examples, a hosted search app is implemented using HTML5 code generated at a remote search provider server. Responsively to a user query at the search app's user interface (“UI”), the server returns an HTML5 payload including meta tags specifying criteria including app extension categories, actions, and known apps that support search terms in the query. Apps that are installed on the client device which match the criteria can then be displayed and launched through the UI to advantageously enable the users to complete a task specific search. JavaScript interfaces are provided to enable apps to update their install state and to be injected into the hosted search app.
摘要:
A system and method provides secondary resource files in response to a request for a web page from a client device. In response to the request, a server provides an HTML file which identifies a secondary resource file, such as a javascript file, and the current version value of the secondary resource. The HTML file may be associated with a header which prevents the file from being cached. If there is no locally-cached version of the secondary resource file, the file is requested from the server. The server will transmit the secondary resource file with a header indicating that the file is to be stored indefinitely. If there is a locally-cached version of the secondary resource file, the client device compares the version value of the locally-cached version to the received current version value. If the values are different, the client requests the differences between the files. The server provides a difference file which the client device uses in conjunction with the locally-cached version of the secondary resource to generate the current version of the secondary resource.
摘要:
A mobile device can detect, select and use an external antenna supported by an attached accessory device. The mobile device queries the accessory device whether it supports an external antenna and receives an indication of whether the accessory device supports external antennas. The indication can comprise a list of accessory device pins operatively coupled to supported external antennas. The mobile device selects an external antenna for use by the mobile device. The selection can comprise selecting a mobile device pin operatively coupled to the selected external antenna. The selected mobile device pin can be a predetermined pin or a pin that is both operatively coupled to a supported external antenna and configured to operate as an external antenna pin. The mobile device can use the selected external antenna. The mobile device can switch between an internal antenna and an external antenna operatively coupled to a selected mobile device pin.
摘要:
A mobile device can detect, select and use an external antenna supported by an attached accessory device. The mobile device queries the accessory device whether it supports an external antenna and receives an indication of whether the accessory device supports external antennas. The indication can comprise a list of accessory device pins operatively coupled to supported external antennas. The mobile device selects an external antenna for use by the mobile device. The selection can comprise selecting a mobile device pin operatively coupled to the selected external antenna. The selected mobile device pin can be a predetermined pin or a pin that is both operatively coupled to a supported external antenna and configured to operate as an external antenna pin. The mobile device can use the selected external antenna. The mobile device can switch between an internal antenna and an external antenna operatively coupled to a selected mobile device pin.