Android Question Error reading Boolean value from map.

U

unba1300

Guest
Hi. I have a key dimmed as Boolean and a value of False in a text file that I read as a map when my app starts. This approach has worked well for saving and getting settings that are strings and numbers, but when I do it with a Boolean key and value, I get the error message java.lang.RuntimeException: Cannot parse: False as boolean. Do I need to use an INT or String instead for the storage and then do some conversion with IF THEN when reading?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…