I'm trying to get a string from strings.xml into my Java file:
This is my Java code:
public class LGDial extends ActionBarActivity{
public static final String[] titles = new String[] { "Strawberry",
"Banana", "Orange", "Mixed" };
Can someone please tell me how to define the text in strings.xml then get it.
Thank you in advance,