Hi Ajay,

shouldn't it be more like:

String[] arrStrings ... ?

Then of course use the usual arrStrings.length

2010/8/13 Ajay <[email protected]>

> 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

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