Back to project page appboy-android-sdk.
The source code is released under:
Copyright (c) 2014 Appboy, Inc. All rights reserved. * Use of source code or binaries contained within Appboy's Android SDK is permitted only to enable use of the Appboy platform by customers of Appb...
If you think the Android project appboy-android-sdk 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.appboy.sample; //from www . j a va 2 s .c o m import android.content.Context; import android.content.Intent; import android.os.Bundle; import com.appboy.ui.AppboyNavigator; public class CustomAppboyNavigator extends AppboyNavigator { @Override public void gotoNewsFeed(Context context, Bundle extras) { Intent intent = new Intent(context, DroidBoyActivity.class); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP); intent.putExtra("source", com.appboy.Constants.APPBOY); intent.putExtra("destination", "feed"); context.startActivity(intent); } }