Android Question What did I miss with NotificationBuilder

ltrebuchet

Member
Licensed User
Longtime User
I use B4A 6.31 and made an unsuccessful try at NotificationBuider. android-support-v4.jar, NotificationBuilder.jar, NotificationBuilder.xml are in AdditionalLibraries.
My added code is very simple:
Globals: Dim nb As NotificationBuilder
Activity create:
nb.Initialize
nb.SmallIcon ="icon"
nb.ContentTitle = "GolfCoach"
in sub:
nb.ContentInfo = Parcours
nb.Notify(0)

When I call the sub I get the error as in the attachedfile.
What did I miss?
Thanks for your help, Louis
 

Attachments

  • crash.png
    crash.png
    30 KB · Views: 209
Top