On Thu, Sep 1, 2011 at 8:08 AM, LiTTle <[email protected]> wrote:

> But the problem is if I
> want to call every string I have to create over 100 'if' blocks. One
> 'if' block is going to be inside the other. But, now I know that the
> variable I want is the 31st for example, so I say to my code int
> varWanted=R.array.Var0+31.
>

I don't know what "call every string" means, but it sounds like you just
need an array of variables:
http://developer.android.com/guide/topics/resources/more-resources.html#TypedArray

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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