Locus Map - forum

Support => Troubles & Questions => Topic started by: gerryscat on August 20, 2011, 00:21:21

Title: Best way to pro-grammatically push KML file to Locus
Post by: gerryscat on August 20, 2011, 00:21:21
I'm new to both Android and Locus. What's the best mechanism to get a KML file (either in memory or saved to disk) from my app to Locus?

Thanks.
[I'll be out of the office next week but hope I can get this done in hours, not days, when I get back.]
Title: Re: Best way to pro-grammatically push KML file to Locus
Post by: Menion on August 21, 2011, 14:24:44
easist way is to call Intent with Intent.VIEW and add to it data
Intent intent = new Intent(Intent.VIEW);
intent.setData(Uri.fromFile(new File(filepath)));
startActivity(intent);
this should work ...