Making Phone Calls on your Mobile Platform We use the Launch Command to make a phone call. By specifying "tel:<phone number>" in the launch command, we can open up the dialer with the phone number. e.g. Launch url "tel:8005551212" launch url "tel:800 555 1212" as in:
or to be a bit more formal with variables (if you were getting the number from a text field or looking it up:
Sending Text Messages We use the Launch Command to send a text message. We have to first set up the sending information before launching the "SMS" application ake a phone call. By specifying "sms:<phone number+message>" in the launch command, we can open up the SMS app to send the message. e.g. launch url "sms:8005551212?body="This is my message"
or to be a bit more formal with variables (if you were getting the number from a text field or looking it up:
|
App Programming >