Firefox OS/Vaani/Custom Command: Difference between revisions

Line 87: Line 87:
Only '''WebActivity''' is supported.
Only '''WebActivity''' is supported.


=== Actions ===
=== Grammars/Actions ===
The predefined actions are DialAction and OpenAppAction which will be mapped to grammar, like:  
The predefined actions are DialAction and OpenAppAction which will be mapped to grammar, like:  


Line 144: Line 144:


=== Structure of Code===
=== Structure of Code===
[[image:Introduced-modules.png|none|thumb|500px|]]


==== predefined actions (predefined-actions/*.js) ====
==== predefined actions (predefined-actions/*.js) ====
Line 166: Line 168:
* '''setupSpeech''': we use predefined actions to generate grammars.
* '''setupSpeech''': we use predefined actions to generate grammars.
* '''_interpreter''': we use predefined actions to parse transcript and use launcher to execute command.
* '''_interpreter''': we use predefined actions to parse transcript and use launcher to execute command.


= FAQ =
= FAQ =
Confirmed users
209

edits