Intro.java
958 Bytes
package com.example.talktalkspeak;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
public class Intro extends Activity {
Handler handler = new Handler();
Runnable r = new Runnable() {
public void run() {
Intro.this.startActivity(new Intent(Intro.this.getApplicationContext(), MainActivity.class));
Intro.this.finish();
}
};
/* access modifiers changed from: protected */
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.intro);
}
/* access modifiers changed from: protected */
public void onResume() {
super.onResume();
this.handler.postDelayed(this.r, 4000);
}
/* access modifiers changed from: protected */
public void onPause() {
super.onPause();
this.handler.removeCallbacks(this.r);
}
}