Hi Chander,

I tried your example and it works fine (thank you).
Did you manage to use a kml file stored on the sdcard or on the local
file system ? I tried to do this, without success.

Regards,
Frédéric

On Feb 10, 3:00 pm, Chander Pechetty <cspeche...@gmail.com> wrote:
> Ok posting my own answer:
> Sending an Intent
>  with data URI set as below seems to work fine.
>
> Intent mapIntent = new Intent(Intent.ACTION_VIEW, uri);
> Uri uri1 = Uri.parse("geo:0,0?q=http://code.google.com/apis/kml/
> documentation/KML_Samples.kml");
> mapIntent.setData(uri1);
> startActivity(Intent.createChooser(mapIntent, "Sample Map "));

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

Reply via email to