Saving and loading files
Monkey Targets Forums/Android/Saving and loading files
| ||
Is it possibly to save and load files with the Android target? From what I remember in the documentation for Monkey, the OS modules are only available for Windows and Mac - has this been updated since? |
| ||
LoadString? |
| ||
To save file with Monkey you have 3 possibilities: File/Save (or CTRL-S) File/Save As and you have to specified the name File/Save All To load file use File/Open (CTRL-O) |
| ||
@matty - The documentation says that LoadString is part of the OS module and that the OS module is only available in the STCPP and GLFW targets. Not sure if the LoadString mentioned in the Mojo module is separate because in the description it says it's for the OS module. There is also no save string in Mojo. |
| ||
@Leon, there are two LoadString commands one for OS and the other for Mojo. The other commands for loading and saving are LoadState and SaveState... http://blitz-wiki.appspot.com/Module_reference |
| ||
Diddy has a filesystem that works on top of the LoadState/SaveState. |
| ||
ahh yes sorry Leon - therevills is mentioning the commands I meant "loadstate/savestate" it has been a while since I've done any monkey programming and got them confused. They don't save outside your app's area in android but still useful for saving and loading data. |