A: 

getApplicationContext() returns you an instance of your Application class, not an activity. You can't use this to display toasts, you must use a context of an activity.

Vetsin
I did use .... Context context = this; // instead of Context context = getApplicationContext(); that did not work.The Notifications work but the toast does not work.
Abhi
Thank you - I did use .... Context context = this; // instead of Context context = getApplicationContext(); that did not work.The Status Bar Notifications work but the toast notifications do not work.
Abhi