Create in an accessible folder
This commit is contained in:
parent
f3607fb5b9
commit
47b4d3151a
1 changed files with 2 additions and 2 deletions
|
@ -234,8 +234,8 @@ public class NotesFragment extends OsmAndListFragment {
|
|||
}
|
||||
|
||||
private File generateGPXForRecordings(ArrayList<Recording> selected) {
|
||||
File cacheDir = getActivity().getCacheDir();
|
||||
File tmpFile = new File(cacheDir, "noteLocations.gpx");
|
||||
File tmpFile = getMyApplication().getAppPath("cache/noteLocations.gpx");
|
||||
tmpFile.getParentFile().mkdirs();
|
||||
GPXFile file = new GPXFile();
|
||||
for(Recording r : selected) {
|
||||
if(r != shareLocationFile) {
|
||||
|
|
Loading…
Reference in a new issue