Which of the following is true about this code snippet? (Choose two)
Intent intent = new Intent(Intent.ACTION_DIAL,Uri.parse("tel:555-1234")); startActivity(intent);
Which of the following is true about this code snippet? (Choose two)
Intent intent = new Intent(Intent.ACTION_DIAL,Uri.parse("tel:555-1234")); startActivity(intent);
The code snippet creates an implicit intent with the action ACTION_DIAL, which tells the system to open the dialer with the number pre-filled, but it does not actually dial the number. Therefore, the system will not dial the number without the CALL_PHONE permission as user intervention is required to make the call. Additionally, the system will perform intent resolution to determine the best application to handle the ACTION_DIAL action.
B. The system will not dial the number without adding permission CALL_PHONE. C. The system will perform an intent resolution to start the proper activity.