title: Adding multiple way points in Google Maps via Android Intent
body: <p>As a part of navigation in my app, I am re-directing my app to Google Maps along with the lats and longs. I have already succeeded in passing the source and destination and making it open in Google Maps directly. </p>
  
  <pre><code>Uri gmmIntentUri = Uri.parse("google.navigation:q=9.883456,78.120150");
  Intent mapIntent = new Intent(Intent.ACTION_VIEW,gmmIntentUri);
  mapIntent.setPackage("com.google.android.apps.maps");
  startActivity(mapIntent);
  </code></pre>
  
  <p>But my <strong>question</strong> is <strong>how do I pass multiple points</strong> to Google Maps via intent. Recently Google introduced adding multiple destinations in the mobile version of the Google Map app and I presume that its available in the Google Directions API but I don't want to take the twisted path by integrating Google Directions in my app, I'd rather take the highway to Google Maps. </p>
  
  <p>I have been searching a lot on this topic but all I find is the following but that doesnt work either.</p>
  
  <pre><code>Intent intent = new Intent(android.content.Intent.ACTION_VIEW,
  Uri.parse("http://maps.google.com/maps?saddr=st.%20louis,mo&amp;daddr=washington,dc%20to:chicago,il%20to:new%20york,ny"));
  startActivity(intent);
  </code></pre>
  
  <p>The above code works only when we open it in Chrome but I want it to open in Google Maps and even adding a <code>mapIntent.setPackage("com.google.android.apps.maps");</code> doesn't work but its kinda obvious that the above uri passed is a URL that's available in Google Maps of web version.</p>
  
  <p>Any insights or any ideas on how this can be achieved will be more than welcomed. </p>
  
  <p><strong>P.S:</strong> Can this be achieved at all ?????</p>