Android : launching google maps using intent from a tab and pressing back button
<p>In my application i have a tabhost with one tab for "map"</p>

<p>On clicking map i am launching a new activity within which i am launching the google map using intent. </p>

<p>Now when i click on "back" key, i get the tab view with map tab being pressed and below a blank screen. </p>

<p>If i click map again, screen remains the same , map is not launched again.</p>

<p>How can i get the map displayed whenever i press map. Like i press anyother tab and again press map , it should display map.</p>

<p>Here is my code launching the map:</p>

<pre><code>public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setMapView();
    }

private void setMapView() {
        // get lat , log here
        Intent intent = new Intent(android.content.Intent.ACTION_VIEW,
                Uri.parse("geo:" + latitude + "," + longitude+ "?z=10" ) );
        startActivity(intent);

    }
</code></pre>
