add IndexConstants.MAP_MARKERS_INDEX_DIR
This commit is contained in:
parent
5d344ab811
commit
d77ba13f8a
2 changed files with 3 additions and 2 deletions
|
@ -50,6 +50,7 @@ public class IndexConstants {
|
|||
public static final String MAPS_PATH = "";
|
||||
public static final String BACKUP_INDEX_DIR= "backup/";
|
||||
public static final String GPX_INDEX_DIR = "tracks/";
|
||||
public static final String MAP_MARKERS_INDEX_DIR = "/map markers";
|
||||
public static final String GPX_RECORDED_INDEX_DIR = GPX_INDEX_DIR + "rec/";
|
||||
public static final String GPX_IMPORT_DIR = GPX_INDEX_DIR + "import/";
|
||||
|
||||
|
|
|
@ -995,7 +995,7 @@ public class MapMarkersHelper {
|
|||
}
|
||||
|
||||
public String generateGpx(String fileName) {
|
||||
final File dir = ctx.getAppPath(IndexConstants.GPX_INDEX_DIR + "/map markers");
|
||||
final File dir = ctx.getAppPath(IndexConstants.GPX_INDEX_DIR + IndexConstants.MAP_MARKERS_INDEX_DIR);
|
||||
if (!dir.exists()) {
|
||||
dir.mkdirs();
|
||||
}
|
||||
|
@ -1018,7 +1018,7 @@ public class MapMarkersHelper {
|
|||
}
|
||||
|
||||
public String generateGpxFromList(String fileName, List<MapMarker> mapMarkers) {
|
||||
final File dir = ctx.getAppPath(IndexConstants.GPX_INDEX_DIR + "/map markers");
|
||||
final File dir = ctx.getAppPath(IndexConstants.GPX_INDEX_DIR + IndexConstants.MAP_MARKERS_INDEX_DIR);
|
||||
if (!dir.exists()) {
|
||||
dir.mkdirs();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue