예제 #1
0
 @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();
 }
예제 #2
0
 public static String getGeoidFilename(int rtklibId) {
   GeoidModel geoidModel = GeoidModel.valueOf(rtklibId);
   String filename =
       MainActivity.getFileStorageDirectory() + File.separator + geoidModel.name() + ".geoid";
   return filename;
 }