Method and device for refreshing application program and electronic device

The invention provides a method and device for refreshing an application program and an electronic device, and relates to the technical field of computer application. A user performs a sliding operation on the electronic device to enable Webview to slide, and a moving distance of the Webview is tran...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: ZHANG CANYAN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides a method and device for refreshing an application program and an electronic device, and relates to the technical field of computer application. A user performs a sliding operation on the electronic device to enable Webview to slide, and a moving distance of the Webview is transmitted to a webpage end by a Native end via a js bridge; when the moving distance reaches a preset distance and the part of the user contacting with a screen of the electronic device leaves the screen, a refreshing command of the webpage end is triggered to refresh the webpage end, and after being refreshed, the webpage end feeds back a refreshing result thereof to the Native end such that the Native end displays an image characterizing different fretting results on the screen of the electronic device. According to such a pull-down refreshing scheme achieved by the Native end interacting with the webpage by means of the js bridge, the refreshing content is obtained from a webpage, and the obtained information is m