switch between internal and external sdcard

This commit is contained in:
Martín Fdez
2020-11-27 20:51:40 +01:00
committed by Frans de Jonge
parent 1f16815f94
commit be2bcac28e
3 changed files with 29 additions and 1 deletions

View File

@@ -93,6 +93,7 @@ local Device = Generic:new{
return android.openLink(link) == 0
end,
canImportFiles = function() return android.app.activity.sdkVersion >= 19 end,
hasExternalSD = function() return android.getExternalSdPath() end,
importFile = function(path) android.importFile(path) end,
canShareText = yes,
doShareText = function(text) android.sendText(text) end,