tags:

views:

243

answers:

0

Hi,

I have read the doc and some tutorials to get a .kml file working launching the google maps activity. When I hosted the file in a server, this works perfectly:

Intent myIntent = new Intent(
                             android.content.Intent.ACTION_VIEW,
                             Uri.parse("geo:0,0?q=http://somedomain.com/file.kml")
                             );

Now, reading this link on how to use intents for gmaps with the developing stage of GEO uri I can't manage how to load a kml file from within the device, I have tried with "q=file:///path-to-file.kml" and with an absolute path too.

Has anyone done this yet?

PS: in IRC channel recommend me to use apps based on openstreetmaps, but the docs is much more poor than the gmaps doc althought they are OS.