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.
package com.ekoconnect.afriphotos; /* ww w . j av a 2 s .c om*/ import android.app.Activity; 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) { super.onCreate(savedInstanceState); context = this; finish(); 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)); } } }