Why does the app show the success dialog in the activity-result callback instead of checking a result code?

  1. Because email needs internet permission
  2. Because Gmail always returns RESULTOK
  3. Because dialogs cannot be shown otherwise
  4. Email apps do not return a reliable result code, so the app confirms when the user returns
Answer

D) Email apps do not return a reliable result code, so the app confirms when the user returns

The callback runs when the user comes back from the email app.

Computer Science MCQ · More Lab: Campus Feedback App (Mini Project) MCQs · Practise