I want to set the textview color in class1 through the command
textView.setTextColor(Integer.parseInt(class2.font1)); font1 is set in class2 like this:
public static String font1 ="0xff00ffff"; but the program crashes, tried so
int ccc= Integer.valueOf(class2.font1); textView.setTextColor(ccc); also flies, maybe someone knows what I'm doing wrong?