Android Question Trying to use Phone events; unknown type

Hello,
I'm trying to use phone events as described here:
https://www.b4x.com/android/help/phone.html#phoneevents_initializewithphonestate

I've declare the variables here (not sure if that's right) but it's giving an error "unknown type" and inviting me to add a library.
B4X:
Sub Globals
    'These global variables will be redeclared each time the activity is created.
    Dim PhoneId As PhoneId
    Dim PE As PhoneEvent
End Sub

The B4A installation does include "Phone.jar", so not sure if this is really the problem. If so, I'm not sure where to go to get an additional library?
 
Top