| | |
| | | "cn.jpush.android.intent.NOTIFICATION_OPENED", |
| | | "cn.jpush.android.intent.CONNECTION" |
| | | }, |
| | | Categories = new string [] { "com.hdl.on" }) |
| | | Categories = new string [] { "com.hdl.in" }) |
| | | ] |
| | | public class JpushNotificationReceiver : BroadcastReceiver |
| | | { |
| | |
| | | else if (JPushInterface.ActionRegistrationId == intent.Action) { |
| | | string regId = bundle.GetString (JPushInterface.ExtraRegistrationId); |
| | | //System.Console.WriteLine ("Registration ID:" + regId); |
| | | } |
| | | else if (JPushInterface.ActionNotificationOpened == intent.Action) { |
| | | } else if (JPushInterface.ActionNotificationOpened == intent.Action) { |
| | | Console.WriteLine ("用户点击打开了通知"); |
| | | Application.IsShowTip = false; |
| | | |