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

Reply via email to