diff options
| author | SammysHP <sven@sammyshp.de> | 2012-04-09 13:38:33 +0200 |
|---|---|---|
| committer | SammysHP <sven@sammyshp.de> | 2012-04-09 13:39:08 +0200 |
| commit | ff6ef07828dc090ef703eac6eaaa74b4b4165762 (patch) | |
| tree | 0d6af1a8b7cc8942339b0016f54f14ac92cbdb63 /main/src/cgeo/geocaching/export/FieldnoteExport.java | |
| parent | 08d132878d4e8818c8090169e6f0ece257ac4732 (diff) | |
| download | cgeo-ff6ef07828dc090ef703eac6eaaa74b4b4165762.zip cgeo-ff6ef07828dc090ef703eac6eaaa74b4b4165762.tar.gz cgeo-ff6ef07828dc090ef703eac6eaaa74b4b4165762.tar.bz2 | |
Extend GPX export.
Waypoints and attributes added to export, better description handling. Also few small fixes in Field Notes export.
Diffstat (limited to 'main/src/cgeo/geocaching/export/FieldnoteExport.java')
| -rw-r--r-- | main/src/cgeo/geocaching/export/FieldnoteExport.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/export/FieldnoteExport.java b/main/src/cgeo/geocaching/export/FieldnoteExport.java index 7677569..4edc367 100644 --- a/main/src/cgeo/geocaching/export/FieldnoteExport.java +++ b/main/src/cgeo/geocaching/export/FieldnoteExport.java @@ -170,7 +170,7 @@ public class FieldnoteExport extends AbstractExport { exportLocation.mkdirs(); SimpleDateFormat fileNameDateFormat = new SimpleDateFormat("yyyyMMddHHmmss"); - exportFile = new File(exportLocation + "/" + fileNameDateFormat.format(new Date()) + ".txt"); + exportFile = new File(exportLocation.toString() + '/' + fileNameDateFormat.format(new Date()) + ".txt"); OutputStream os = null; Writer fw = null; @@ -239,7 +239,7 @@ public class FieldnoteExport extends AbstractExport { if (onlyNew) { // update last export time in settings } - ActivityMixin.showToast(activity, getName() + " " + getString(R.string.export_exportedto) + ": " + exportFile.toString()); + ActivityMixin.showToast(activity, getName() + ' ' + getString(R.string.export_exportedto) + ": " + exportFile.toString()); } else { ActivityMixin.showToast(activity, getString(R.string.export_failed)); } |
