On Fri, Sep 2, 2011 at 8:32 PM, Mark Murphy <[email protected]> wrote:
> On Fri, Sep 2, 2011 at 7:25 AM, TreKing <[email protected]> wrote:
>> On Fri, Sep 2, 2011 at 1:53 AM, LiTTle <[email protected]> wrote:
>>>
>>> It is really big xml to load to memory and also it is harder to maintain
>>> the data!
>>
>> Use pull parser to skip to the parts you need or probably better, use a
>> database if your set is so large and you need to randomly look stuff up.
>
> Agreed, 10,000 shops should never have implemented as string-array
> resources in the first place.

Additionally, there is a limit to resource arrays size  in pre-GB devices,
512, IIRC. If you have an array larger than this, your app won't even start
on Froyo.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to