1. Check the KML namespace..."http://www.opengis.net/kml/2.2" 2. Is your URL - urlencoded ? You have to encode your url it has & ?...
On Nov 30, 11:43 pm, furby <wookie...@gmail.com> wrote: > I have a KML file that is being generated on the server side and > loaded into the google maps application on Android. The resulting KML > file looks like this (Right now it has only one point in it): > > <?xml version="1.0" encoding="UTF-8"?> > <kml xmlns="http://earth.google.com/kml/2.x"> > <Placemark><name>Bridgewater Twp Martinsv</name> > <description>TEST</description> > <Point><coordinates>-74.03279876709,40.9547996521,0</coordinates></ > Point> > </Placemark> > </kml> > > I am using these lines to start the app up and load the KML file : > final Intent myIntent = new Intent(android.content.Intent.ACTION_VIEW, > Uri.parse("geo:0,0?q=[GENERATE THE KML FILE]")); > startActivity(myIntent); > > (Where the [GENERATE THE KML FILE] is the url to my application that > generates the file) > > For some reason it will not work... Can anyone see what I am doing > wrong in the KML file? I *think* it looks correct to me... -- 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