Android Question NB6 group notifications

Alexander Stolte

Expert
Licensed User
Longtime User
i added this 2 subs to the nb6:
B4X:
Public Sub SetGroup (groupname As String) As NB6
'    If IsBuilder Then
        NotificationBuilder.RunMethod("setGroup", Array(groupname))
    'End If
    Return Me
End Sub

Public Sub SetGroupSummary (summary As Boolean) As NB6
'    If IsBuilder Then
        NotificationBuilder.RunMethod("setGroupSummary", Array(summary))
'    End If
    Return Me
End Sub

and follow the tutorial on the android page:
B4X:
    Dim n As NB6
    n.Initialize("default", Application.LabelName, "DEFAULT").AutoCancel(True).SmallIcon(smiley)
    
    n.SetGroup("b4a.example3nb6.TEST_GROUP")
    n.SetGroupSummary(True)
    n.Build("Title", "Content", "tag1", Me).Notify(Rnd(1,1000))

but the notification is still not grouped
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Please see this answer from SO
 
Upvote 0

Similar Threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…