Write, Bureaucrats, Administrators
4,332
edits
mNo edit summary |
mNo edit summary |
||
Line 495: | Line 495: | ||
Suppose a library contains a field called Phone containing a phone number. | Suppose a library contains a field called Phone containing a phone number. | ||
: | :<small>'''Trigger script:'''</small> | ||
<source lang="javascript"> | <source lang="javascript"> | ||
i = intent("android.intent.action.DIAL"); // Create information exchange object Intent | i = intent("android.intent.action.DIAL"); // Create information exchange object Intent | ||
Line 508: | Line 508: | ||
The phone number will be obtained from the field Phone and the text of the message will be obtained from the fields ContactName and Notes. | The phone number will be obtained from the field Phone and the text of the message will be obtained from the fields ContactName and Notes. | ||
: | :<small>'''Trigger script:'''</small> | ||
<source lang="javascript"> | <source lang="javascript"> | ||
msg = "Dear, " + | msg = "Dear, " + | ||
Line 523: | Line 523: | ||
Suppose a library contains the time and name of an appointment. | Suppose a library contains the time and name of an appointment. | ||
: | :<small>'''Trigger script:'''</small> | ||
<source lang="javascript"> | <source lang="javascript"> | ||
i = intent("android.intent.action.INSERT"); // Create Intent object | i = intent("android.intent.action.INSERT"); // Create Intent object |