(Background: I understand what is KML. I am able to manually create my own KML (using like a text editor for example) or edit a KML example for my own purposes. I found a library to generate KML for me called JAK. So I know how to create the KML object's that I need.
I searched online and I can't seem to find anything about how you can push your KML object onto Google-Earth while it is running locally. Most of the info online is talking about google earth running in a browser.)
I have a java app that generates a KML object every x seconds. I need to push each of these the KML objects onto Google-Earth as the KML objects are generated. Using Java how do I push KML objects onto Google-Earth running locally?
Generate a KML with a NetworkLink to your file, and have that NetworkLink refresh every X seconds. This will allow for auto-refresh in GE.
Then, just have your process generate new KML at the appropriate place on a regular schedule.