On May 16, 7:15 pm, Nicholas Johnson <[email protected]> wrote:
> Something like this should work:
>
> String[] textValues =
> getResources().getStringArray(R.array.your_string_array);
>
> for (int i = 0; i < textValues.length; ++i) {
>    mTextView.setText(textValues[i]);
>
> }
>
> ^obviously this code isn't very useful, but you get the idea.


Again, very useful, thanks!  Here's what it ended up being:


            TextView statusText = (TextView)
findViewById(R.id.status_text);
            String[] textValues =
getResources().getStringArray(R.array.Image_Titles);

            String image_title = textValues[photoIndex];
            statusText.setText(String.format("%s", image_title));

And it works.  Now I just need to re-arrange it on the screen.  But
that's
the easy part....  Next step after that is to search for docs on how,
if it's
even possible,  to allow any users (if any) who may (or may not) want
to
order a poster-size print of any of these photos (I have sold some,
one
for $75/print at 16x20, so I do know that at least some have
potential)
can order photo posters from the app.  But that's the next step AFTER
I get the screen layout the way it wants to be, instead of how it is
now.
:-)

Thanks again for the example.  It WAS a huge help.  Now, can you, by
any chance, do anything to make this fscking laptop keep up with me
as I type?  ;-}

--
73 DE N5IAL/4
Web site:  htp://www.jstreack.org
E-mail:  [email protected]
Do not look into waveguide with remaining eye.

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