+3
Waiting for user's reply

Data saving file

Михаил Иванов 9 years ago in General updated by Ekaterina (head of support) 9 years ago 2
It would be good to write/read/delete some value from the project "constantly", i.e. to have a third-party file, e.g. in the directory //Documents. It would simplify a lot of tasks connected, for example, with writing of temporary data received from outside, writing passwords, texts, etc. As when the system crashes, the device/programme reboots, we have default values only, and it would be good to save the password changed by the user in this file, so that it won't change after the restart.
Михаил, в качестве такого хранлилища мы видим iRidium Server - аппаратное решение, которое позволит централизованно хранить данные в базе MySQLite. Выход сервера планируется в этом году.

Сейчас вы можете использовать переменные проекта - Project Tokens.
Если галочка Clear Tokens в настройках проекта выключена, они будут сохранять свои значения между сессиями, даже если приложение было аварийно закрыто или перезапущено. В токене можно хранить число, строку, массив.