> Actually I just repeated what I was trying to do and realised I
> phrased my question wrong.  What I meant was how do I get the selected
> (localised) value - the code I quoted gets the key as you'd expect.

Um, probably with minor difficulty. The only way off the top of my head I
can think of to do this is:

Step #1: Use getResources().getStringArray() to get the keys array

Step #2: Find the index of the desired key in that array

Step #3: Use getResources().getStringArray() to get the values array

Step #4: Use the index from step #2 to get the desired value

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to