Android Question [Solved] B4XPages - Changing the theme at runtime

asales

Expert
Licensed User
Longtime User
I'm trying to use this code to change the theme in a b4xpages project:

But I get this error when I try to compile:
B4X:
Compilando o código Java.    Error
B4A line: 73
End Sub
src\b4a\example\themecolors\main.java:493: error: cannot find symbol
        _theme_value = Integer.parseInt(File.ReadString(getFilesDir().toString(), "theme.txt"));
        ^
  symbol:   variable _theme_value
  location: class main

Any tips to fix this problem are welcome.

Thanks in advance.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…