function onStart()
{
mSettings = getProperty(SETTINGS);
if(null == mSettings)
{
mSettings = new [15];
mSetting[0] = Ui.LoadResource( etc...
}
}
// app code
function onStop()
{
setProperty(SETTINGS, mSettings);
saveProperties();
}
Run 1/ First run and it jumps in to load the resources. I can change the settings. The changes are reflected as they happen.
Run 2/ Next run and it loads without loading the resources. I can see all the changes I made on the first run. I make some new changes and they are reflected as they happen.
Run 3/ Next run and it loads without loading the resources, but I can't see the changes from run 2??????
Why can't I save my settings array when it is loaded with getProperty()?