it ll have all the functions/variables that an array has...

simply use arrStrings.length;

On Fri, Aug 13, 2010 at 3:58 PM, Ajay <[email protected]> wrote:

> Hi,
>   I have defined a string array in the resource and access it using:
>
>   String arrStrings[] =
> getResources().getStringArray(R.array.arrayname);
>
>   But, how can I get the size of this array?
>
> Thank you,
> AJ
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Farjad Habib
Software Engineer and Developer
BS(Hons) 2011
LUMS

+92-331-4944-354

-- 
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