Path to Android SD-CARD

Hi,

how can I get the Path to the SDCard on Android?

I like to save a file there and for now i only found

local lfile = io.open("/mnt/sdcard/test.txt",“w”)
lfile:write(“test”)
lfile:close()

but the SD Card Path seems different on several Android Devices

Thanks

Chris