use of com.android.locationtracker.data.TrackerDataHelper in project android_frameworks_base by ResurrectionRemix.
the class TrackerActivity method exportKML.
private void exportKML() {
String exportFileName = getUniqueFileName(LocationManager.NETWORK_PROVIDER + ".kml");
exportFile(LocationManager.NETWORK_PROVIDER, exportFileName, new TrackerDataHelper(this, TrackerDataHelper.KML_FORMATTER));
exportFileName = getUniqueFileName(LocationManager.GPS_PROVIDER + ".kml");
exportFile(LocationManager.GPS_PROVIDER, exportFileName, new TrackerDataHelper(this, TrackerDataHelper.KML_FORMATTER));
}
use of com.android.locationtracker.data.TrackerDataHelper in project android_frameworks_base by crdroidandroid.
the class TrackerActivity method exportCSV.
private void exportCSV() {
String exportFileName = getUniqueFileName("csv");
exportFile(null, exportFileName, new TrackerDataHelper(this, TrackerDataHelper.CSV_FORMATTER));
}
use of com.android.locationtracker.data.TrackerDataHelper in project platform_frameworks_base by android.
the class TrackerActivity method exportCSV.
private void exportCSV() {
String exportFileName = getUniqueFileName("csv");
exportFile(null, exportFileName, new TrackerDataHelper(this, TrackerDataHelper.CSV_FORMATTER));
}
use of com.android.locationtracker.data.TrackerDataHelper in project platform_frameworks_base by android.
the class TrackerActivity method clearData.
private void clearData() {
Runnable clearAction = new Runnable() {
public void run() {
TrackerDataHelper helper = new TrackerDataHelper(TrackerActivity.this);
helper.deleteAll();
}
};
showConfirm(R.string.delete_confirm, clearAction);
}
use of com.android.locationtracker.data.TrackerDataHelper in project platform_frameworks_base by android.
the class TrackerActivity method exportKML.
private void exportKML() {
String exportFileName = getUniqueFileName(LocationManager.NETWORK_PROVIDER + ".kml");
exportFile(LocationManager.NETWORK_PROVIDER, exportFileName, new TrackerDataHelper(this, TrackerDataHelper.KML_FORMATTER));
exportFileName = getUniqueFileName(LocationManager.GPS_PROVIDER + ".kml");
exportFile(LocationManager.GPS_PROVIDER, exportFileName, new TrackerDataHelper(this, TrackerDataHelper.KML_FORMATTER));
}
Aggregations