setPackage("com.google.android.apps.maps") on the intent ensures that:

  1. No app opens
  2. The browser opens
  3. An API key is used
  4. The Google Maps app specifically handles the intent
Answer

D) The Google Maps app specifically handles the intent

setPackage limits the intent to that app.

Computer Science MCQ · More Lab: Showing a Location on Google Maps MCQs · Practise