i have been trying to use this code for my application. Im trying to call this class in strings.xml but i couldn't figure it out. How can i call the class in strings.xml?
public class Sorular {
public String Sorular[] = {
"When did Facebook came out?",
"Who is a Google Developer?",
"Whitch one is the first Smartphone?"
};
public String Secenekler[][] = {
{"2002", "2003", "2004"},
{"Bill Gates", "Steve Jobs", "Larry Page"},
{"Iphone", "Samsung", "Nokia"}
};
public String DogruCevap[] = {
"2004",
"Larry Page",
"Iphone"
};
public String getQuestion ( int a){
String soru = Sorular[a];
return soru;
}
public String getchoice1 ( int a){
String secenek = Secenekler[a][0];
return secenek;
}
public String getchoice2 ( int a){
String secenek = Secenekler[a][1];
return secenek;
}
public String getchoice3 ( int a){
String secenek = Secenekler[a][2];
return secenek;
}
public String getCorrectAnswer ( int a){
String cevap = DogruCevap[a];
return cevap;
}
}