Android Open Source - african-art-talent-discovery Splash Screen

From Project

Back to project page african-art-talent-discovery.


The source code is released under:

GNU General Public License

If you think the Android project african-art-talent-discovery 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 com.ekoconnect.afriphotos;
/*  ww  w . j av  a  2  s  .c  om*/
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

import com.appsng.reusables.Utilities;
import com.ekoconnect.afriphoto.fragments.Home;

public class SplashScreen extends Activity {

  Context context;
  public void onCreate(Bundle savedInstanceState) {

        context = this;
        if(Utilities.isLoggedIn(context)) {
           startActivity(new Intent(getBaseContext(),AwesomeActivity.class));
           //Utilities.newFragment = new Home();
          // startActivity(new Intent(getBaseContext(),ActivityFragment.class));

        }else {
           startActivity(new Intent(getBaseContext(),ActivityFragment.class));



Java Source Code List