Using java Syntax Highlighting
- startActivity(new Intent(Intent.ACTION_VIEW, Uri
- .parse("http://maps.google.com/maps?f=d&source=s_d&saddr=" +lat1+","+lng1+ "&daddr=" +lat2+","+lng2)));
Parsed in 0.031 seconds, using GeSHi 1.0.8.4
When I execute this, device show me two options: open Google Maps from a browser or open Google Maps directly. I would like to open Google Maps directly, with no options menu before the action For example, when I call startActivity (code above) GMaps would be opened with no interference. Is it possible?
Thanks.


