This should give you some pointers: http://www.androidacademy.com/3-tutorials/43-hands-on/167-coolsplash-an-interactive-splash-toy-for-android-apps
On Feb 22, 10:06 am, CMF <manf...@gmail.com> wrote: > Hi all, I would like to display a picture for 2secons before running > into the main stream of the program > public void onCreate(Bundle savedInstanceState) { > super.onCreate(savedInstanceState); > setContentView(R.layout.startupImage);//startupImage contains a > ImageView > //here I want to wait for 2 second > SystemClock.sleep(2000);//here the screen becomes blank:( > setContentView(R.layout.main); > > > > } -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en