I need to create a folder on the android device on which the application is installed to put the database’s files. I am using flatDB so I need to set a path to a folder when I initialize the database, example :
local flatdb = require 'main.db.flatdb' db = flatdb('C:/User/database')
It works perfectly on a my PC, but if I want to install it on an android device I need to set a path to a folder on the device’s internal storage. I tried many different path like
storage/emulated/0 and nothing works.
Do you know anything about it ?