Yes both the syntax are allowed...Thanks for the replies!!

On Aug 13, 4:05 pm, Farjad Habib <[email protected]> wrote:
> @Filip
>
> it doesn't matter both String[] arrStrings and String arrStrings[] are legal
> in java...
>
> On Fri, Aug 13, 2010 at 4:01 PM, Filip Havlicek 
> <[email protected]>wrote:
>
>
>
> > 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]<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