Calling Status Bar notification from method from other class.
- by Jez Fischer
Firstly, I am new to both android and Java.
I have two classes, my main.class and Note.class.
I am calling the notification method from my Note.class in my main.class when i press a button.
The issue is with this line from the Note.class :
PendingIntent contentIntent = PendingIntent.getActivity(this, 0, notificationIntent, 0);
…