Back to project page bodyguard.
The source code is released under:
GNU General Public License
If you think the Android project bodyguard 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.bodyguard; /*from w ww .j a v a 2 s . com*/ import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.support.v4.app.FragmentActivity; import android.util.Log; import android.widget.RelativeLayout; import android.widget.TextView; import android.widget.RelativeLayout.LayoutParams; public class StartActivity extends FragmentActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.start_activity); final Handler handler = new Handler(); handler.postDelayed(new Runnable() { public void run() { Intent intent = new Intent(StartActivity.this, MainActivity.class); StartActivity.this.startActivity(intent); StartActivity.this.finish(); } }, 3000); } }