I have an arrays.xml file containing quite a few string-array elements for use with Spinners in my app. I need to send a certain value for each selection with web service calls. The web service takes the database value represented by the description, not the description itself, so I set up the string-array like this:
<string-array name="collection_method">
<item name="blank"></item>
<item name="P">Prepaid</item>
<item name="C">Collect</item>
<item name="T">Third Party</item>
<item name="D">Cash On Delivery</item>
</string-array>
My question is this: Is there a way to programatically get to the name value for the elements of the string-array?