Given the following Uri object, which of the following statements creates an Intent object that you can use to place the specified phone number in the dialer without starting the call? Uri uri = Uri.parse("tel:123-456-7890");

Given the following Uri object, which of the following statements creates an Intent object that you can use to place the specified phone number in the dialer without starting the call?
Uri uri = Uri.parse("tel:123-456-7890");









a. Intent intent = new Intent(Intent.ACTION_VIEW, uri);
b. Intent intent = new Intent(Intent.ACTION_DIAL, uri);
c. Intent intent = new Intent(Intent.ACTION_CALL, uri);
d. Intent intent = new Intent(Intent.ACTION_PLACE, uri);















Answer: B


Android

Learn More Multiple Choice Question :