title: set From location to current location in google maps android programmatically
body: <p>I am creating an app where it requires opening google maps to navigate to a place in walking mode and to set source/from location to current location.</p>
  
  <p>Here is the code I use.</p>
  
  <pre><code>String url = "https://maps.google.co.in/maps?q=" + destination + "&amp;mode=walking";
  Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
  intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
  getApplicationContext().startActivity(intent);
  </code></pre>
  
  <p>How do I set "From location" to "current location"??
  Thanks.</p>