Is there any Limitation on loading native google map in android?
Posted
by
captainpirate
on Stack Overflow
See other posts from Stack Overflow
or by captainpirate
Published on 2012-04-14T05:23:08Z
Indexed on
2012/04/14
5:29 UTC
Read the original article
Hit count: 158
I have the following code to load native google map app into my project:
final Intent intent = new Intent(Intent.ACTION_VIEW, Uri
.parse("http://maps.google.com/maps?"
+ "saddr=43.0054446,-87.9678884"
+ "&daddr=42.9257104,-88.0508355"));
intent.setClassName("com.google.android.apps.maps",
"com.google.android.maps.MapsActivity");
startActivity(intent);
Is there any limitation or pre-requisties there i should know.
Because its working in my laptop emulator but not working on PC emulator.
I only load the native google map app, it should work on any emulator.
Is something i am missing here ??
© Stack Overflow or respective owner