makeTempDir

fun makeTempDir(context: Context)

Create the directory for temporary files (if it does not already exist), invoke whenever you are going to work with the temporary files directory.