quisvir:
I finally managed to produce a new option-menue in PRS-settings. Working so far.
One setting is not just an action (most of them are actions; with minor glitches...) but an OPTION (which toggles battery-symbol visibility).
I do this with a SWITCH-function
Code:
....
BATTERY_LEVEL.show(true);
break;
...
I call the option with
Code:
onSettingsChanged: function (propertyName, oldValue, newValue, object)
{
switch (propertyName)
{
case 'ON':
saveData (newValue) ;
break;
...
Problem is:
The
option resets every new start of the reader and looses its settings. How to store the option-values? I tried a couple of things, have had a look of course in other JS-files but no chance so far.
Thanks!