This is possible, yes.
You would have something like this at the top of your main.lua file, which will connect to a file on your server:
[lua]local externalText
function NetworkListener(event)
if (event.isError) then
print(“Network error!”)
else
local params = json.decode(event.response)
externalText = params.data.newText
end
end
network.request(“http://www.yourwebsite.co.uk/update.cfg”, “GET”, NetworkListener)[/lua]
update.cfg file on server:
[lua]{
“data” : {
“newText” : “This is the new text that I want to import into my app”
}
}[/lua]
After a suitable delay to connect to the server and allow for poor 3G/wifi signal you can then manipulate the text received however you want.
[import]uid: 93133 topic_id: 30373 reply_id: 121675[/import]