Skip to content Skip to sidebar Skip to footer

Notification Doesn't Show In Ginger Bread But Works In Jellybean

I am trying to show notification but it works perfectly in Jelly Bean and in Ginger Bread it doesn't work. No errors/issue. I just want to cancel the notification once its clicked.

Solution 1:

I have an API level check and do something a bit different for anything less than Jelly Bean:

if(jellybeanOrHigher())
{
///Jelly bean 
}
else
{  
    NotificationCompat2.Builder mBuilder = new NotificationCompat2.Builder(this.context)
            ........
}

That might get around it for you. It took me quite a while to get notifications setup so this was what worked for me.

Post a Comment for "Notification Doesn't Show In Ginger Bread But Works In Jellybean"