Android
AND-401 · Question #114
AND-401 Question #114: Real Exam Question with Answer & Explanation
The correct answer is 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.. See the full explanation below for the reasoning.
Question
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);
Options
- AThis is an explicit intent that start the system's dialer.
- BThe system will not dial the number without adding permission CALL_PHONE.
- CThe system will perform an intent resolution to start the proper activity.
- DThe code will not compile.
Community Discussion
No community discussion yet for this question.