How do I launch Maps intent with label and sub-label?

Shruthi Nayak Source

I have an intent picker in my app. When the user selects Google Maps, I want to set the title and subtitle in the maps.

enter image description here

How do I get the subtext set in Google Maps? I looked at the api( and I used


But I can only set the title text(label) using this. How do I set the subtitle? I want to do it only using common intent for location and not just Google Maps.



comments powered by Disqus