Back to project page Stone-Paper-Scizzors.
The source code is released under:
Apache License
If you think the Android project Stone-Paper-Scizzors listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.example.stone.paper.scizzors; //ww w . j a va2 s. c om import android.app.Activity; import android.content.Intent; import android.os.Bundle; public class InitialChoice extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(savedInstanceState); setContentView(R.layout.initial); Thread timer = new Thread() { @Override public void run() { try{ sleep(3000); startActivity(new Intent("com.example.stone.paper.scizzors.STORE")); finish(); } catch(InterruptedException e){ e.printStackTrace(); } } }; timer.start(); } }