I am launching TabActivity . In the next line:
spec = tabHost.newTabSpec("alltime").setIndicator(R.string.plots_allTime) .setContent(intent);
I get an error because setIndicator() expecting CharSequence . I am not sure how to fix this because I have to pass a string to this parameter. I think the problem is that the generated R.java initializes everything in the strings.xml file as public static final int . The setIndicator () method seems to be too different. Is there any way around this?
source share