Problem in showing multiple images in ImageView object

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


Sponsored Links
 Hi,

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.




Regards,
Saurav Mukherjee.


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




-- 


Sponsored Links


Other Threads

1. Exiting Application

Hi All,

I want my application to always run in the background untill being
exited properly.

Any idea how to do it?

Currently I notice after a while my application closes on it own.

Thanks In Advance,
Perumal

-- 

2. java.lang.RuntimeException in GLSurfaceView$EglHelper

Any chance someone here has seen this error, and has some idea how to
fix it?

I'm getting it from the Crash Errors in my Developer Console. The full
stack trace (such as it is) is as follows:

java.lang.RuntimeException: eglSwapBuffers failed: EGL_BAD_ALLOC
at android.opengl.GLSurfaceView
$EglHelper.throwEglException(GLSurfaceView.java:1079)
at android.opengl.GLSurfaceView$EglHelper.swap(GLSurfaceView.java:
1037)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:
1342)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1118)

That's it... No indication of where in my app this may be happening,
and naturally there are no user messages. It leads me to think that
it's an OpenGLES bug, and I'm inclined to file it at b.android.com,
unless someone here has a better explanation.

Thanks!

String

-- 

3. Problem running heavy application

4. Problem computing the free space on the external card - only with a single installation

5. How can i get related email info through Google AuthSub token

6. convert .dex file to java back to .dex

7. Adapter drop down clipped on floating window