private CharSequence[] strings; Resources res = getResources(); strings = res.getTextArray(R.array.secondlines);
res/values/array.xml : <?xml version="1.0" encoding="utf-8"?> <resources> <string-array name="secondlines"> <item>...</item> <item>...</item> ... </string-array> </resources> -- http://www.deepdroid.com On Mar 31, 4:40 pm, Brad <bradallenful...@gmail.com> wrote: > I've searched high and lo for this but I might be missing something > that is staring me in the face, but for the life of me I can't find > it. I just want to read <string-array> resource elements into a String > array. I don't want to make a view or anything and mess with adapters > - just want to transfer the elements. Is there a built in class for > this? Or do I need to treat the resource file as a regular file? > > thanks! --~--~---------~--~----~------------~-------~--~----~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---