public class TrackLogKMLSerializer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
TAG |
| Constructor and Description |
|---|
TrackLogKMLSerializer() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
appendPlacemark(org.xmlpull.v1.XmlSerializer xmlSerializer,
Placemark placemark) |
protected static void |
appendStyle(org.xmlpull.v1.XmlSerializer xmlSerializer,
Style style) |
static boolean |
write(android.content.Context context,
Kml trackLog,
java.io.File file)
Write the specified track log out to the specified file
|
protected static final java.lang.String TAG
public static boolean write(android.content.Context context,
Kml trackLog,
java.io.File file)
throws java.lang.Exception
trackLog - may contain one or more LineString placemarksfile - java.lang.Exceptionprotected static void appendPlacemark(org.xmlpull.v1.XmlSerializer xmlSerializer,
Placemark placemark)
throws java.lang.IllegalArgumentException,
java.lang.IllegalStateException,
java.io.IOException
java.lang.IllegalArgumentExceptionjava.lang.IllegalStateExceptionjava.io.IOExceptionprotected static void appendStyle(org.xmlpull.v1.XmlSerializer xmlSerializer,
Style style)
throws java.lang.IllegalArgumentException,
java.lang.IllegalStateException,
java.io.IOException
java.lang.IllegalArgumentExceptionjava.lang.IllegalStateExceptionjava.io.IOException