callPhoneNumber

fun callPhoneNumber(phoneNumber: String?, context: Context)

Calls a phone number

Parameters

phoneNumber

the phone number to call

context

the context of the activity

Throws

if no activity found to handle the intent