METHOD AND SYSTEM FOR EXECUTING AN APPLICATION ON A MOBILE DEVICE
A system for executing an application on a mobile device may include a mobile device and a server in communication with the mobile device. The mobile device may include one or more widgets, a widget framework configured to receive a query from at least one of the widgets, and an encapsulator application configured to encapsulate the query. The computer-readable storage medium may include one or more programming instructions for performing one or more of the following: receiving the encapsulated query from the encapsulator application, extracting the query from the encapsulated query, and transmitting an update associated with the one or more widgets to the mobile device.
1 . A system for executing an application on a mobile device, the system comprising:
a mobile device comprising:
one or more widgets,
a widget framework configured to receive a query from at least one of the widgets, and
an encapsulator application configured to encapsulate the query; and
a server in communication with the mobile device, wherein the server is in communication with a computer-readable storage medium comprising one or more programming instructions for performing one or more of the following:
receiving the encapsulated query from the encapsulator application,
extracting the query from the encapsulated query, and
transmitting an update associated with the one or more widgets to the mobile device.
2 . The system of claim 1 , wherein the widgets are configured to initiate an http query to the widget framework.
3 . The system of claim 1 , wherein the widget framework is configured to transmit the query to the encapsulator application.
4 . The system of claim 1 , wherein the encapsulator application is configured to transmit the query to the server via one or more of a communications network and a carrier network.
5 . The system of claim 1 , wherein the widget framework is configured to receive a message from the server, wherein the message comprises an acknowledgement of submission of the query to the server.
6 . The system of claim 1 , wherein the computer-readable storage medium comprises one or more programming instructions for transmitting the query to a destination server associated with a URL address specified by the query.
7 . The system of claim 6 , wherein the computer-readable storage medium comprises one or more programming instructions for performing one or more of the following:
receiving the update from the destination server;
transmitting the update to the widget framework.
8 . The system of claim 7 , wherein the widget framework is configured to perform one or more of the following:
receive the update from the server;
transmit the update to the widget that requested the update.
9 . The system of claim 1 , wherein the server is associated with a service provider.
10 . A system for executing an application on a mobile device, the system comprising:
a mobile device comprising:
a first widget and a second widget,
a widget framework configured to receive a first query from the first widget and a second query from the second widget, and
an encapsulator application; and
a server in communication with the mobile device, wherein the server is in communication with a computer-readable storage medium comprising one or more programming instructions for performing one or more of the following:
transmitting a first update associated with the first widget to the mobile device, and
transmitting a second update associated with the second widget to the mobile device.
11 . The system of claim 10 , wherein the encapsulator application is configured to determine whether the first query should be processed before the second query based on one or more of the following:
an importance associated with the first query and the second query; and
which of the first widget and the second widget was selected first.
12 . The system of claim 10 , wherein the widget framework is configured to transmit the first query and the second query to the encapsulator application.
13 . The system of claim 10 , wherein the computer-readable storage medium comprises one or more programming instructions for performing one or more of the following:
transmitting the first query to a first destination server associated with a URL address specified by the first query;
receiving an update from the first destination server; and
transmitting the update to the widget framework.
14 . The system of claim 13 , wherein the widget framework is configured to transmit the update to the first widget.
15 . The system of claim 10 , wherein the computer-readable storage medium comprises one or more programming instructions for performing one or more of the following:
transmitting the second query to a second destination server associated with a URL address specified by the second query;
receiving an update from the second destination server; and
transmitting the update to the widget framework.
16 . The system of claim 15 , wherein the widget framework is configured to transmit the update to the second widget.
17 . The system of claim 10 , wherein the encapsulator application is configured to:
encapsulate the first query; and
transmit the encapsulated first query to the server via one or more of a communications network and a carrier network.
18 . The system of claim 10 , wherein the encapsulator application is configured to:
encapsulate the second query; and
transmit the encapsulated second query to the server via one or more of a communications network and a carrier network.