首页>
外国专利>
METHOD AND APPARATUS FOR REALIZING COMMUNICATION BETWEEN WEB PAGE AND NATIVE APPLICATION, AND ELECTRONIC DEVICE
METHOD AND APPARATUS FOR REALIZING COMMUNICATION BETWEEN WEB PAGE AND NATIVE APPLICATION, AND ELECTRONIC DEVICE
展开▼
机译:用于实现网页与本地应用之间的通信以及电子设备的方法和装置
展开▼
页面导航
摘要
著录项
相似文献
摘要
A method for communication of a native application on a terminal includes: receiving a first response from a web server in response to a web page access request initiated via the apparatus, wherein the first response comprises an identifier and version information of an application; selecting a port and initiating, to a local server on the apparatus, an access request carrying an identification of the selected port; determining whether a second response carrying an identifier and version information of a native application bound with the selected port on the terminal is received from the local server; in response to determining that the second response is received, determining whether the identifier of the native application and the identifier of the application in the first response are the same; and in response to determining that the identifiers are the same, adjusting an operation prompt according to the version information of the native application and the version information of the application in the first response.
展开▼