Thanks again.

On Mar 29, 5:21 pm, "Dan U." <[EMAIL PROTECTED]> wrote:
> getResources().getResourceEntryName(mImageIds[position])
>
> On Mar 29, 3:00 pm, MartyB <[EMAIL PROTECTED]> wrote:
>
> > Is there any way to get the name of the active image displayed?
> > Right now the images are referred to by their index number. What I
> > want to do is display the name of the image. For example when the
> > image at index 3 is active, I would want to display the name
> > "gallery_photo_4"
>
> >         private Integer[] mImageIds = {
> >                 R.drawable.gallery_photo_1,
> >                 R.drawable.gallery_photo_2,
> >                 R.drawable.gallery_photo_3,
> >                 R.drawable.gallery_photo_4,
> >                 R.drawable.gallery_photo_5,
> >                 R.drawable.gallery_photo_6,
> >                 R.drawable.gallery_photo_7,
> >                 R.drawable.gallery_photo_8
> >         };
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to