@Nonnull // getPathInStorageDirectory() is used by native code, do not remove or rename public static String getPathInStorageDirectory(@Nonnull String filename) { return new File(MainActivity.getFileStorageDirectory(), filename).getAbsolutePath(); }
public static String getGeoidFilename(int rtklibId) { GeoidModel geoidModel = GeoidModel.valueOf(rtklibId); String filename = MainActivity.getFileStorageDirectory() + File.separator + geoidModel.name() + ".geoid"; return filename; }