Sunday 15 September 2013

android - message of my notification not display in notification bar ,only title? -


I try to display the database contents (only two words) in the message of notification but only why the title appears ? Second problem: I used the Harmag Manager to trigger an intrasecavegative class (the class of the content of this code) every 1 minute, but if the data == faucet notifies me it should not have been in my situation

  ShowTimeDB RetrieverDB = new ShowTimeDB (this); RetrieverDB.open (); String Data = Show Retrieveer DBTet (); RetrieverDB.close (); If (data! = Null) {nm = (Notification Manager) getSystemService (NOTIFICATION_SERVICE); Intent = intent (new, in this, show today); Pending anticipated PI = pending iatactive (this, 0, intent, 0); Extreme X = (Charity) data; Notification n = New Notification (Ardoable.IC_Luncher, "You SOOO", System Syrtetime Millis ()); N.setLatestEventInfo (this, "ShowTime", x, pi); N.defaults = Notification.DEFAULT_ALL; Nm.notify (uniqueID, n);    

Notification notification instead. Try to build builder. Information notification items have been removed using the new notification () to use the notification. Builder class

I'm not sure what your second question means.

No comments:

Post a Comment