Sorry to ask such a silly question, but How can I put pause? Is it in canvas class or a sleep?
On Jan 28, 4:36 pm, "Tommy" <[email protected]> wrote: > The drawing is probably happening to fast for you to notice. Put a pause in > there for like ½ a second (500 ms) > > From: [email protected] > [mailto:[email protected]] On Behalf Of Kumar Bibek > Sent: Friday, January 28, 2011 5:32 PM > To: [email protected] > Subject: Re: [android-developers] Draw bitmaps one after other using canvas > > What are you trying to achieve? If you want a pause between the switch, you > have to set it in your code, else, you wouldn't notice the transition. > > Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com > > On Sat, Jan 29, 2011 at 3:55 AM, android777 <[email protected]> wrote: > > How can I draw bitmaps one after other. I was trying to draw three > bitmaps as follows. > > Bitmap flower = > BitmapFactory.decodeResource(getResources(),R.drawable.flowers1); > > canvas.drawColor(Color.BLACK); > canvas.drawBitmap(kangoo, 0, 0, null); > flower = > BitmapFactory.decodeResource(getResources(),R.drawable.flowers2); > > canvas.drawColor(Color.BLACK); > canvas.drawBitmap(kangoo, 0, 0, null); > flower = > BitmapFactory.decodeResource(getResources(),R.drawable.flowers3); > > canvas.drawColor(Color.BLACK); > canvas.drawBitmap(kangoo, 0, 0, null); > > But it draws only the last image. What is the problem? How can I solve > it? > > -- > 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] > <mailto:android-developers%[email protected]> > For more options, visit this group > athttp://groups.google.com/group/android-developers?hl=en > > -- > 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 > athttp://groups.google.com/group/android-developers?hl=en -- 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

