mian.iyu
call(a, "mlua", "lua.get")
tw(a)
//a为版本号
lua.mlua
function get()
--版本号
import "android.content.pm.PackageManager"
return activity:getPackageManager():getPackageInfo(activity:getPackageName(), 0).versionName
end
mian.iyu
call(a, "mlua", "lua.get")
tw(a)
//a为版本号
lua.mlua
function get()
--版本号
import "android.content.pm.PackageManager"
return activity:getPackageManager():getPackageInfo(activity:getPackageName(), 0).versionName
end