摘要:
A method for generating a widget icon is disclosed. The method includes: obtaining a widget summary information file; parsing the widget summary information file, and executing the parsed widget summary information file; and generating a widget icon according to the executed widget summary information file. A method for generating a widget summary information file and a widget engine are also provided, thus reducing the occupancy of system resources.
摘要:
A widget communication method includes: receiving a widget event message from a client, the widget event message indicates happening of the widget event; obtaining association information of widget events between clients; and triggering widget events on other clients that are associated with the widget event happening on the client according to the association information. A widget server is also provided. With the present invention, when a server receives a widget event message from a client, the server obtains association information of widget events between clients. Because the association information of widget events between clients associates widget events of different clients, the server triggers the widget events on other clients that are associated with the widget event happening on the client according to the association information so that widget applications can collaborate across multiple clients.
摘要:
The present invention relates to communication technologies, and discloses a device capability invocation method, a widget device, and a server. The device capability invocation method includes: receiving a device capability invocation request sent by a widget, where the device capability invocation request carries conditions of a device capability that needs to be invoked; search a device capability database for the device capability compliant with the conditions; invoking the found device capability; receiving an invocation result that is returned after the found device capability is invoked; and sending the invocation result to the widget. The technical solutions provided by the embodiments of the present invention enables a widget device to invoke device capabilities of all devices in the system.