</div>
<h1>Context Trigger Sample Overview</h1>
-<p>The Context Trigger sample demonstrates how to manage contextual rules using the <a href="../../../org.tizen.native.mobile.apireference/group__CAPI__CONTEXT__TRIGGER__MODULE.html">Context Trigger</a> API. The Context Trigger displays several rules in a genlist. You can tap each list item to start/stop the rule. When a rule is triggered, a notification will be posted with appropriate message.</p>
+<p>The Context Trigger sample demonstrates how to manage contextual rules using the <a href="../../../org.tizen.native.mobile.apireference/group__CAPI__CONTEXT__TRIGGER__MODULE.html">Context Trigger</a> API. This application displays several rules in a genlist. You can tap each list item to start/stop the rule. When a rule is triggered, a notification will be posted with appropriate message.</p>
<p>The following figure illustrates the main view of the Context Trigger.</p>
<p class="figure">Figure: Context Trigger screen</p>
<h2>Implementation</h2>
<h3>Rule Module</h3>
-<p>The initialization of Context Trigger sample application is donw within the <span style="font-family: Courier New,Courier,monospace">app_create()</span> callback function. And <span style="font-family: Courier New,Courier,monospace">add_rules()</span> function is responsible for contextual rule registration. Below example shows how to create rule handle for battery rule and register the rule.
+<p>The initialization of Context Trigger sample application is done within the <span style="font-family: Courier New,Courier,monospace">app_create()</span> callback function. And <span style="font-family: Courier New,Courier,monospace">add_rules()</span> function is responsible for contextual rule registration. Below example shows how to create rule handle for battery rule and register the rule.
<pre class="prettyprint">
void add_rules(void)