Android Open Source - dtype Intro Splash Activity

From Project

Back to project page dtype.


The source code is released under:

Copyright (c) 2013, Vsevolod Glumov All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:...

If you think the Android project dtype listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package net.wswld.dtype.writer;
/*from   w ww  .  j ava2 s. c  om*/
import android.os.Bundle;
import android.os.Handler;

 * <h1>dType Splash</h1>
 * This is the splash activity. It is called on the very first launch from
 * the {@link DTypeActivity#DTypeActivity DTypeActivity} class which is
 * always the first to load. It then produces a short delay to show off 
 * some basic application info and passes the flow of control back to the  
 * {@link DTypeActivity#DTypeActivity DTypeActivity} activity.
public class IntroSplashActivity extends DTypeActivity {
   * Simple and pretty common method for all Android activity classes.
   * Overridden <code>Handler().postDelayed()</code> is the mechanism that
   * enables the short delay before passing the flow of control to the main
   * activity. Note how the delay time now equals <code>5000</code>.
    public void onCreate(Bundle savedInstanceState) {
        new Handler().postDelayed(new Runnable() {
            public void run() {
        }, 20000);

Java Source Code List