Merge pull request #49435 from madmiraal/add-android-external-dir
Add OS.get_external_data_dir() to get Android external directory
This commit is contained in:
commit
bc1fcb9c65
10 changed files with 64 additions and 17 deletions
|
|
@ -363,6 +363,10 @@ public class GodotIO {
|
|||
return activity.getFilesDir().getAbsolutePath();
|
||||
}
|
||||
|
||||
public String getExternalDataDir() {
|
||||
return activity.getExternalFilesDir(null).getAbsolutePath();
|
||||
}
|
||||
|
||||
public String getLocale() {
|
||||
return Locale.getDefault().toString();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue