Thursday, July 19, 2012


private int SPLASHTIME = 3000; //in milliseconds
private ImageView splash;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        splash = (ImageView) findViewById(R.id.imageView1);
        Runnable r = new Runnable(){
public void run() {
Intent i = new Intent(MainActiity.this,MainClass.class);
startActivity(i);
finish();
}
       
        };
        Handler handler = new Handler();
        handler.postDelayed(r, SPLASHTIME);
    }

1 comment:

  1. A powerful Forex Trading Platform is essential for making informed trading decisions and achieving success in the global currency markets. WinProFX offers a secure, user-friendly platform equipped with advanced charting tools, real-time market data, fast trade execution, and seamless account management. Whether you're a beginner learning the basics or an experienced trader implementing advanced strategies, our platform provides the performance, reliability, and flexibility you need to trade with confidence anytime, anywhere.
    Contact us Address — 1st Floor, The Sotheby Building, Rodney Bay, Gros-Islet, SAINT Lucia P.O Box 838, Castries, Saint Lucia Phone no — +97144471894 Website — https://winprofx.org/

    ReplyDelete