Hi Kris, Thanks for replying. The reason I want to do this is because there is a pre-build step in which strings.xml is itself generated by another script and I want Java code to iterate through all strings in this xml. Perhaps as Kostya suggested I can use reflection, but I haven't tried it yet.
On Sep 24, 1:53 pm, Kristopher Micinski <[email protected]> wrote: > On Sat, Sep 24, 2011 at 4:49 PM, jpathak <[email protected]> wrote: > > Hi, > > > I wanted my application to be able to discover what string resources > > (including string arrays, but only the name of the string array) it > > has, on startup at runtime. I didn't find a way to do this in the API > > docs, or perhaps I'm missing something. Can someone help ? > > > Thanks, > > -Jay. > > Why? Why do you want to do this? Perhaps that could give some better > advice without using a hack. Whatever you do, going through the > strings.xml is *not* the answer :-). > > Kris -- 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

