Android - notification manager, having a notification without an intent
问题 I would like to be able to fire a notification to alert the users about a timer that has finished, however i do not wish to have an intent when you click the notification. I've tried passing in null for the intent String ns = Context.NOTIFICATION_SERVICE; NotificationManager mNotificationManager = (NotificationManager) context.getSystemService(ns); int icon = R.drawable.icon; CharSequence tickerText = "Hello"; long when = System.currentTimeMillis(); Notification notification = new