title: android app invoking google map with car,public,walking controls
body: <p>Im having problems porting some functions of Iphone application to Android.
  Basically iphone google map app that is invoked from this app looks like this</p>
  
  <p><img src="https://i.stack.imgur.com/d35oO.jpg" alt="enter image description here"></p>
  
  <p>I have tried to copy similar behaviour using this pseudo code</p>
  
  <pre><code>Intent intent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse("http://maps.google.com/maps?saddr="+LAT_POSITION+","+LONG_POSITION+"&amp;daddr="+Lat+","+Lon + "&amp;dirflg=w"));
  startActivity(intent);
  </code></pre>
  
  <p>what it does it brings the android map app in this form</p>
  
  <p><img src="https://i.stack.imgur.com/i96Dy.jpg" alt="enter image description here"></p>
  
  <p>so then when i click show map i get</p>
  
  <p><img src="https://i.stack.imgur.com/d7NFR.jpg" alt="enter image description here"></p>
  
  <p>and then when i press back twice i get this </p>
  
  <p><img src="https://i.stack.imgur.com/EUmtp.jpg" alt="enter image description here"></p>
  
  <p>my questions are.</p>
  
  <p>How I can get the (car,public,walk) controls overlay the map? just like in iphone app - on one screen (other elements too if possible)</p>
  
  <p>additional question..
  How I can enable showing map by default? (instead of textual directions, this is happening in android 2.2 - I have checked on samsung galaxy with froyo) , In 4.0 (emulator) the map is showing by default but still there are no overlay controls (car,public,walk).</p>