|
Re: File Reading and Writing
I can assume you are trying to do this: load configuration in static files bundled in the jar, then change configuration data later?
If my wild guess is correct, I would use the bundled files as defaults, and then copy them out of the jar into the flash FS. Then, when the jar loads it can check the FS and either A) load the default if an existing config doesn't exist, B) leave it alone, or C) selectively replace components based on some method you figure out. Your app can then load off the local config rather than the bundled one.
iPhone apps often do things like this as bundled files are code signed and therefore non-writable.
|