Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
How long has to be a string array not to cause troubles?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Domenico Pacecca  
View profile  
 More options Nov 12 2012, 6:27 pm
From: Domenico Pacecca <domenico.pace...@gmail.com>
Date: Mon, 12 Nov 2012 15:27:02 -0800 (PST)
Local: Mon, Nov 12 2012 6:27 pm
Subject: How long has to be a string array not to cause troubles?

Hi
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.
Thanks in advance


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TreKing  
View profile  
 More options Nov 14 2012, 5:04 am
From: TreKing <treking...@gmail.com>
Date: Wed, 14 Nov 2012 03:56:46 -0600
Local: Wed, Nov 14 2012 4:56 am
Subject: Re: [android-developers] How long has to be a string array not to cause troubles?

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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mukesh Srivastav  
View profile  
 More options Nov 14 2012, 5:59 am
From: Mukesh Srivastav <mukicha...@gmail.com>
Date: Wed, 14 Nov 2012 16:25:54 +0530
Local: Wed, Nov 14 2012 5:55 am
Subject: Re: [android-developers] How long has to be a string array not to cause troubles?

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.

--
Warm Regards,
*Mukesh Kumar*,
Android Consultant/Freelancer,
India,Hyderabad.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »