I am very new to Android programming!
I want to do something really simple:
`if(i < 1)
System.out.println("Ja");
else
System.out.println("Nein");`
My first idea how to achieve this was to have a TextView in xml with a String resource and then acess that resource via Java code (R.string.Entscheidung = "Ja";) but it doesnt work. Is there another easy way to do this?
Thank you !
Aucun commentaire:
Enregistrer un commentaire