Difference between revisions of "Phonebot developer's reference/Sample applications"
From EtherWiki
(→Services) |
|||
Line 17: | Line 17: | ||
* Contains several examples of each type of <code>[[Phonebot_developer%27s_reference/Object_reference#Services|service]]</code> | * Contains several examples of each type of <code>[[Phonebot_developer%27s_reference/Object_reference#Services|service]]</code> | ||
− | * The "Twitter feed" module uses <code>[[Phonebot_developer%27s_reference/Object_reference#Json|json]]</code> objects to parse the data returned from the Web service call | + | * The "Twitter feed" module uses <code>[[Phonebot_developer%27s_reference/Object_reference#Json|json]]</code> objects to parse the data returned from the [https://dev.twitter.com/docs/api/1/get/search Web service call] |
== Time tracker == | == Time tracker == |
Revision as of 17:37, 29 October 2011
Contents
Agent
- Uses
application.open_application(name)
to open external processes - Creates a user
database
to save previous commands
Calculator
- Each number key contains the same script in its OnClick event by using the
this
keyword.
Notepad
- Creates a user
database
to save notes - Uses the
map
object to sort notes - Uses
list
named objects to store database records within the visual list
Services
- Contains several examples of each type of
service
- The "Twitter feed" module uses
json
objects to parse the data returned from the Web service call
Time tracker
- Creates two user
database
s - Uses
datetime
objects to manage timestamps and durations - The application contains application scoped variables
- The "Menu" module uses module scoped variables