Reliable way of retrieving StatusbarNotification details (title, notification text)
问题 I'd like to get as much information out of a StatusBarNotification -object as possible. Right now, the only "reliable" information that can be accessed is the tickerText -property. I'm using the following code to get the notification's title and text via RemoteViews , but a lot of the time, the title and/or text will simply be null :-(: //Get the title and text String mTitle = ""; String mText = ""; try { RemoteViews remoteView = sbn.getNotification().contentView; LayoutInflater inflater =