Hi There, Instead of created a big string of Array, you create a xml file and put it in the assests directory and read the content in the Haspmap.
secondly, you could also create ArrayList<String>() and insert the values. hope the above solutions works. Regards, Mukesh. On Wed, Nov 14, 2012 at 3:26 PM, TreKing <treking...@gmail.com> wrote: > On Mon, Nov 12, 2012 at 5:27 PM, Domenico Pacecca < > domenico.pace...@gmail.com> wrote: > >> I've made a string array of 618 items and it doesn't work in an htc G1 >> with 250 Mb RAM? How can I do? >> I noticed that untill 427 items it works. >> > > First, what is "doesn't work"? Crashes? Curses at you? Is unemployed? > > Second, you're dealing with mobile devices with limited resources, like > RAM. Revise your code / strategy to account for this. > > > ------------------------------------------------------------------------------------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices > > -- > 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 > -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. -- 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