Saturday, September 24, 2011

Re: [android-developers] Listing all top level elements in strings.xml

On Sat, Sep 24, 2011 at 4:49 PM, jpathak <jay.pathak@gmail.com> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment