Java Runtime error (CustomWebView)

Hi Gigi

Just tested your App on my phone, Android 10, Companion 2.63, no error displayed though nothing much is working.

Your GUI doesn't fit my phone width, needs some work (can't see all of it in Landscape mode).

There are some odd things in your code - Seven TinyDb's? You only need one.

You can only store files on SD with earlier version Android as Google has new security measures in Android 10+

Your bug is probably being caused by the launch of a succession of procedures in Screen initialise, you can see the screen display is glitchy for a second before the GUI is drawn. You are using Procedure 'do' - these will execute without waiting for prior procedures to finish. I suggest you have a clock timer as the last call of Screen initialise and that in turn calls the procedures, each of which should return a result before the next is called.

You are enabling Clock Timers without immediately disabling them, so they are running in App memory and in some cases sending the same command repeatedly (another source of App crashing). So, like this:

When sleep_chk changed, various labels/sliders are made visible/invisible. That can be confusing - imagine if your car dashboard did that....

Try to avoid huge crocodile teeth (successive If-then-else Blocks). You can do this for example:

Not a single if-then-else required.