setPackage("com.google.android.apps.maps") on the intent ensures that:
- No app opens
- The browser opens
- An API key is used
- 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