Jorge M A Well-Known Member Licensed User Longtime User Nov 8, 2017 #1 Hi. I'm studying the "SateManager" module with the original "StateManagerExample" code. All libraries are referenced. When I test the application and rotate the device, I receive the error: Error occurred on line: 170 (StateManager) java.lang.NumberFormatException: Invalid double: "true" at java.lang.StringToReal.invalidReal(StringToReal.java:63) at java.lang.StringToReal.initialParse(StringToReal.java:94) ... Click to expand... It seems to me that the value of SeekBar is not being saved. The module version is 1.20. My questions are a) am I testing it properly? b) Is there any update after 1.2? c) how can it be solved ?, to integrate it with confidence in my project. Thank you.
Hi. I'm studying the "SateManager" module with the original "StateManagerExample" code. All libraries are referenced. When I test the application and rotate the device, I receive the error: Error occurred on line: 170 (StateManager) java.lang.NumberFormatException: Invalid double: "true" at java.lang.StringToReal.invalidReal(StringToReal.java:63) at java.lang.StringToReal.initialParse(StringToReal.java:94) ... Click to expand... It seems to me that the value of SeekBar is not being saved. The module version is 1.20. My questions are a) am I testing it properly? b) Is there any update after 1.2? c) how can it be solved ?, to integrate it with confidence in my project. Thank you.
Jorge M A Well-Known Member Licensed User Longtime User Nov 8, 2017 #2 I applied @Erel's tip described here. All is working now! Thanks! Upvote 0