Difference between revisions of "Phonebot developer's reference/Sample applications"

From EtherWiki
Jump to: navigation, search
(Services)
(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 an http service object to make a request to the Twitter [https://dev.twitter.com/docs/api/1/get/search search Web service]. When the module's <code>OnService</code> event fires, the <code>[[Phonebot_developer%27s_reference/Object_reference#Json|json]]</code> object is used to parse the event data and fill a [[Phonebot_developer%27s_reference/Object_reference#List|list]] with the search results.
+
* The "Twitter feed" module uses an http service object to make a request to the Twitter [https://dev.twitter.com/docs/api/1/get/search search Web service]. When the [[Phonebot_developer%27s_reference/Object_reference#Module|module]]'s [[Phonebot_developer%27s_reference/Creating_applications#Services|<code>OnService</code> event]] fires, the <code>[[Phonebot_developer%27s_reference/Object_reference#Json|json]]</code> object is used to parse the event data and fill a [[Phonebot_developer%27s_reference/Object_reference#List|list]] with the search results.
  
 
== Time tracker ==
 
== Time tracker ==

Revision as of 23:03, 17 November 2011

Agent

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 an http service object to make a request to the Twitter search Web service. When the module's OnService event fires, the json object is used to parse the event data and fill a list with the search results.

Time tracker

Keep track of how much time you spend on different tasks. Create task types to categorize tasks. Use timer to start and stop tasks. View a list of every task or a summary of how much time was spent on each task type.