How to enumerate strings in a string resources file ?
Posted
by Mina Samy
on Stack Overflow
See other posts from Stack Overflow
or by Mina Samy
Published on 2010-06-07T22:03:32Z
Indexed on
2010/06/07
23:32 UTC
Read the original article
Hit count: 186
android
Hi all
I have a resources file called string.xml in res/valus directory
the file has many string resources
how can I obtain these items in an array from code ?
I tried
Field[] x=R.string.class.getFields();
but it does not work.
thanks
© Stack Overflow or respective owner