Back to project page growthpush-android.
The source code is released under:
Apache License
If you think the Android project growthpush-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.growthpush.handler; //from w ww .j av a2 s .c o m import android.content.Context; import android.content.Intent; /** * 2013/08/23 * * @author Ogawa Shigeru * */ public class DefaultReceiveHandler extends BaseReceiveHandler { public DefaultReceiveHandler() { super(); } public DefaultReceiveHandler(DefaultReceiveHandler.Callback callback) { this(); setCallback(callback); } @Override public void onReceive(Context context, Intent intent) { super.onReceive(context, intent); showAlert(context, intent); addNotification(context, intent); } }