Not quite sure how they handle regular old arrays in the implementation of android. But List has never given me any problems.
Sincerely Jose C Gomez http://www.josecgomez.com On Mon, May 3, 2010 at 11:49 AM, Alain <aarn...@gmail.com> wrote: > I am using String[] > > String[] items = getResources().getStringArray(R.array.arrayname); > > I will try List<String> > > Why would String[] be limited in the number of items? > > Thanks > > On May 3, 10:34 am, Jose Gomez <j...@josecgomez.com> wrote: > > Are you using String[] or List<String> ? If using List<String> it should > > basically be unlimited. > > Sincerely > > Jose C Gomez > > > > http://www.josecgomez.com > > > > > > > > On Mon, May 3, 2010 at 9:47 AM, Alain <aarn...@gmail.com> wrote: > > > I have a string-array with 2000 items, each item can be 60 characters > > > long, the program crashes when it tries to load the complete string- > > > array. Then I split the string-array in 4 sections, and the program > > > loads each section with no problem. > > > > > My question, what's the max number of items in a string array? Is that > > > device or sdk level dependent? Can it be changed? > > > > > -- > > > 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<android-developers%2bunsubscr...@googlegroups.com> > <android-developers%2bunsubscr...@googlegroups.com<android-developers%252bunsubscr...@googlegroups.com> > > > > > For more options, visit this group at > > >http://groups.google.com/group/android-developers?hl=en > > > > -- > > 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<android-developers%2bunsubscr...@googlegroups.com> > > For more options, visit this group athttp:// > groups.google.com/group/android-developers?hl=en > > -- > 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<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- 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