From 2 days, I am trying to fix this problem but could not do.
I get error that cannot find symbol in one line, I have done all the necessary imports but the same
Every line goes right but this line doesn't : -
NotificationManager notificationManager = (NotificationManager) getApplicationContext().getSystemService(Context.NOTIFICATION_SERVICE);
My imports in extension
import android.content.Context;
import android.app.Application;
And other imports...
And here is the error code : -
NotificationManager notificationManager = (NotificationManager) getApplicationContext().getSystemService(Context.NOTIFICATION_SERVICE);
[javac] ^
[javac] symbol: method getApplicationContext()
Please help me if possible, I am still learning java by creating extensions for AppInventor...
Thanks.