Italian salvare file di config di un app

Spinter

Active Member
Licensed User
Longtime User
ho questo problema vorrei sapere dove posso salvare il file di config che viene creato prima di avviare l'app la prima volta.
mi servirebbe sapere dove è posizionata l'app se in posizione
File.DirInternal o File.DirRootExternal cosi da salvare il file nel posto giusto,
si puo salvarlo in File.DirAssets? oenso di no!
 

LucaMs

Expert
Licensed User
Longtime User
Il file viene creato prima di avviare l'app la prima volta? E come è possibile???

O lo crei tu a manina (quindi dovresti metterlo nella File.DirAsset ed eventualmente copiarlo altrove per renderlo scrivibile) oppure sarà creato al primo avvio, immagino.

La posizione dell'app è la cartella File.DirDefaultExternal.
 

Spinter

Active Member
Licensed User
Longtime User
il file al primo avvio lo creo io scrivendolo!

La posizione dell'app è la cartella File.DirDefaultExternal. e sempre qui?
 

klaus

Expert
Licensed User
Longtime User
I expect that you don't need to access it from any other program so you should save it in File.DirInternal.
File.DirInternal is a special folder accessible by the program.
You cannot save any file in File.DirAssets it's a kind of zip file.
If you need to access it from another program File.DirRootExternal with perhaps a subfolder.
 

Spinter

Active Member
Licensed User
Longtime User
I expect that you don't need to access it from any other program so you should save it in File.DirInternal.
File.DirInternal is a special folder accessible by the program.
You cannot save any file in File.DirAssets it's a kind of zip file.
If you need to access it from another program File.DirRootExternal with perhaps a subfolder.

thanks klaus

File.DirInternal significa dove è salvata l'applicazione?

File.DirInternal means where you saved the application?
 
Top