Back to project page StravaFlow.
The source code is released under:
MIT License
If you think the Android project StravaFlow 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 me.mattlogan.stravaflow.ui.activity; //from w w w .j a v a2s. c o m import android.app.Activity; import android.content.Intent; import android.os.Bundle; import me.mattlogan.stravaflow.StravaFlowApplication; public class LaunchActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Intent intent = new Intent(this, getInitialActivity()); startActivity(intent); } Class getInitialActivity() { return ((StravaFlowApplication) getApplication()).hasAccessToken() ? ActivitiesActivity.class : AuthActivity.class; } }