Back to project page Tic-Tac-Toe.
The source code is released under:
MIT License
If you think the Android project Tic-Tac-Toe 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.comp1008.AmmanVedi.TicTacToe; //from w w w .j a v a 2s . c o m import android.os.Bundle; import android.app.Activity; import android.content.Intent; public class TicTacToeActivity extends Activity { //private Context cxt = this; @Override protected void onCreate(Bundle savedInstanceState) { setContentView(R.layout.activity_tic_tac_toe); getWindow().setBackgroundDrawableResource(R.drawable.bg); //load the next view after 5 seconds super.onCreate(savedInstanceState); new java.util.Timer().schedule( new java.util.TimerTask() { @Override public void run() { go(); } }, 5000 ); } public void go() { Intent intent = new Intent(this, SplashScreen.class); System.out.println("here"); startActivity(intent); } }