Hello!

I'm migrating my app from 1.1 to 1.5. It works right but i get a
problem thowing a new intent which used to open a Geo URI in google
Maps. I think that it must be related with the fact of Gmaps not beign
included as part of the core. Is there any way to solve it or change
it if i want to keep the track of 1.1??

This is the code:

                                Intent mapsIntent = new 
Intent(Intent.ACTION_VIEW);
                                mapsIntent.setData(Uri.parse("geo:0,0?q=" + 
address + "&z=19"));
                                startActivity(mapsIntent);

This is the throwed exception...

android.content.ActivityNotFoundException: No Activity found to handle
Intent { action=android.intent.action.VIEW data=geo:0,0?q=Av. Príncipe
de Asturias,........}


Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to