Back to project page mobile-connector-sdk-android.
The source code is released under:
Apache License
If you think the Android project mobile-connector-sdk-android 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.silverpop.engage.demo.engagetest; //from w w w . ja va2s. c o m import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; import com.silverpop.engage.UBFManager; import com.urbanairship.push.PushManager; public class PushReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { if (PushManager.ACTION_PUSH_RECEIVED.equals(intent.getAction())) { Log.e("engagetest", "recieved notification"); UBFManager.get().handleRemoteNotification(intent); } else if (PushManager.ACTION_NOTIFICATION_OPENED.equals(intent.getAction())) { Log.e("engagetest", "opened notification"); } } }