Problem in showing multiple images in ImageView object

by Md.Fazla Rabbi OPU » Fri, 20 May 2011 09:50:38 GMT

Sponsored Links

I am new in Android. I made a small project with two button ("next"
and "previous") and a ImageView object. In the res/drawable folder i
have some images. I store this images in an Array object. Now i want
to show the images which is come from the Array object one by one when
the next button is pressed. Same event will be occured when the
previous button is clicked. How can i do this.

Plz anyone help me.

Thanks in Advance

Md.Fazla Rabbi Opu


Re: Problem in showing multiple images in ImageView object

by Saurav » Fri, 20 May 2011 12:28:21 GMT

 Use a Gallery, or an ImageSwitcher.

Saurav Mukherjee.

On Thu, May 19, 2011 at 10:37 AM, Md.Fazla Rabbi OPU <


Sponsored Links

Other Threads

1. Dev-phone more expensive than expected for international customers

I ordered a Dev Phone 2 and i am happy with it, from a technical point
of view.

But it is very irritating that i paid plenty of money for "VAT+tax"
and it turns out that this money is kept by Google/Brightstar. So when
i got my phone i again had to pay "VAT+tax".

It seems like Brightstar (that handles the shipping-logistics) are
using the fact that US tax-laws does not apply to international
shipping, and foreign laws does not apply in US. When complaining i
got this nice reply:

"Sorry about your experience, however, the international tax charges
are legitimate and legal.

Have a great life."

Yeah, it might be legal. It is also legal to show me the finger and
ask me to "Have a great life." , but it does not mean it is serious
behavior. It is the kind of behavior i expect from spammers selling
Roleks clocks, and Okely sunglasses. Not from Google.

I hope MeeGo will make Google realize developers are not the right
people to{*filter*}off....



2. Moving a program from one computer to another

I have an eclipse workspace on my laptop, my desktop at work, and the
company server. If I go home and edit program xx on the laptop, the
only thing that changed is the java file ine the src dir, so thats all
I need to copy to the desktop and the server when I get to work? I
also want to figure out how to move an example from the samples dir in
the sdk dir into my androiddevel dir. One problem is the samples have
different package names... or something, and my
androiddevel packages are all com.aiti.xx, so there an item in eclipse
that does this, or does one edit every file in the src dir to change
the package name? Thanks. Not used to eclipse yet.


3. testi froyo N1

4. PlinkArt

5. <embed> in HTML loaded by Webview Broken in Sense UI?

6. Nexus One Starting to Show Up in Third Party Retail Outlets

7. SurfaceView and Menu created