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
2010-09-13 15:56:36
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.