I know that if I send in other URI's from Google examples, it works like a charm...
On Nov 30, 7:23 pm, jeffro <j...@trackaroo.com> wrote: > Is that URI format supported? This is what is listed in the developer > guide: > > geo:latitude,longitude > geo:latitude,longitude?z=zoom > geo:0,0?q=my+street+address > geo:0,0?q=business+near+city > > I don't see a url to KML file supported. > > http://developer.android.com/guide/appendix/g-app-intents.html > > Jeffhttp://www.trackaroo.com > > On Nov 30, 10:43 am, 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