Hello, I'm still a beginner with android (and also with Java a Little
bit) and i have a problem
i have and XML document in values with an array in it:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="groups">
<item>-</item>
<item>AP_KEU1-1</item>
<item>AP_KEU1-2</item>
<item>AP_KEU1-3</item>
<item>AP_KEU1-4</item>
<item>AP_KEU1-5</item>
<item>AP_KEU1-6</item>
<item>ATE-ORG1</item>
<item>ATr1a</item>
......
</string-array>
</resources>
how do i get this in an array that i can use like this in the program:
group[0] = "-"
group[1] = "AP_KEU1-1"
group[2] = "AP_KEU1-2"
group[3] = "AP_KEU1-3"
group[4] = "AP_KEU1-4"
group[5] = "AP_KEU1-5"
group[6] = "AP_KEU1-6"
.....
--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en