Intent.ActionCall Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Activity Action: Perform a call to someone specified by the data.
[Android.Runtime.Register("ACTION_CALL")]
public const string ActionCall;
[<Android.Runtime.Register("ACTION_CALL")>]
val mutable ActionCall : string
Field Value
Implements
- Attributes
Remarks
Activity Action: Perform a call to someone specified by the data.
Input: If nothing, an empty dialer is started; else Data is URI of a phone number to be dialed or a tel: URI of an explicit phone number.
Output: nothing.
Note: there will be restrictions on which applications can initiate a call; most applications should use the ActionDial.
Note: this Intent cannot be used to call emergency numbers. Applications can dial emergency numbers using ActionDial, however.
Note: This Intent can only be used to dial call forwarding MMI codes if the application using this intent is set as the default or system dialer. The system will treat any other application using this Intent for the purpose of dialing call forwarding MMI codes as if the ActionDial Intent was used instead.
Note: An app filling the RoleDialer role should use PlaceCall(Uri, Bundle) to place calls rather than relying on this intent.
Note: if you app targets android.os.Build.VERSION_CODES#M M and above and declares as using the android.Manifest.permission#CALL_PHONE permission which is not granted, then attempting to use this action will result in a java.lang.SecurityException.
Java documentation for android.content.Intent.ACTION_CALL.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.