Android Question Error in Notification Listener Library

Multiverse app

Active Member
Licensed User
Longtime User
I am getting a compilation error in the Notification Listener library:


B4A line: 33
If listener.HandleIntent(StartingIntent) Then Ret
javac 1.8.0_60
src\com\multiverse\jarvis\notificationservice.java:252: error: cannot find symbol
if (_listener.HandleIntent(_startingintent)) {
^
symbol: method HandleIntent(IntentWrapper)
location: variable _listener of type NotificationListener

B4X:
Sub Service_Start (StartingIntent As Intent)
    If listener.HandleIntent(StartingIntent) Then Return 'Line 33
End Sub

Any solutions?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
I see the problem. By mistake a different version of NotificationListener was included in v6.80 beta 1 installation.
Open Program Files (x86)\Anywhere Software\Basic4android\Libraries and delete NotificationListener.jar.

Clean the project (Ctrl + P) and it should now work.
 
Last edited:
Upvote 0
Top