tags:

views:

41

answers:

2

Hello, I am trying to start Google Maps activity like this:

    Intent start = new Intent(Intent.ACTION_VIEW, Uri.parse("geo:"+58.0+","+58.0));
    startActivity(start);

But I am getting activity not found exception.

Do I have to declare Google Maps Activity? Any help is appreciated thanks.

A: 

This mean Google Maps is not installed (nor anything else that thinks it can handle this link). You need to catch the exception and prompt the user to download from the market.

Sean Owen
A: 

I am unable to do this on my nexus one as well. I clearly have the Maps application installed and am just wondering why this isn't able to launch an activity.

Does anybody have a fix for this for the nexus ones on Android 2.1?

dasginganinja