Best way to pro-grammatically push KML file to Locus

Started by gerryscat, August 20, 2011, 00:21:21

0 Members and 1 Guest are viewing this topic.

gerryscat

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.]
  •  

Menion

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 ...
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •