Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package ph.url.skyengine.gradecalculator;
- import android.app.Activity;
- import android.content.Intent;
- import android.os.Bundle;
- /**
- * Created by xSkyFire on 9/6/2014.
- */
- public class SplashScreen extends Activity {
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.splashscreen);
- Thread background = new Thread() {
- public void run() {
- try {
- sleep(5*1000);
- Intent i = new Intent(getBaseContext(), GradeCalculator.class);
- startActivity(i);
- finish();
- }
- catch (Exception e)
- {
- }
- }
- };
- background.start();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement