Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:products:comfortel-d-series:d-100-200:developer:keys:intent [09.04.2019 08:14] (current)
westhuis created
Line 1: Line 1:
 +====== Intent ======
 +Starts an android app via an [[https://​developer.android.com/​guide/​components/​intents-filters|''​Intent''​]].
  
 +You need to specify an action, which will be called.
 +You can also define multiple extras.
 +
 +**Example: **
 +<code xml>
 +<key keyNumber="​14"​ label="​Dial">​
 +   <​keyConfiguration>​
 +     <​function>​
 +       <​invocations>​
 +         <​invocation>​
 +           <​intent>​
 +             <​action>​android.intent.action.DIAL</​action>​
 +             <​data>​tel:​123-555-</​data>​
 +           </​intent>​
 +         </​invocation>​
 +       </​invocations>​
 +     </​function>​
 +   </​keyConfiguration>​
 + </​key>​
 +</​code> ​