mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 17:11:30 +00:00
Add OS.get_external_data_dir() to get Android external directory
This commit is contained in:
parent
d84d5a9665
commit
6d63ccba31
10 changed files with 64 additions and 17 deletions
|
|
@ -454,6 +454,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