Small_Icon = LoadBitmapResize(File.DirAssets, "applogo.png", 24dip, 24dip, False)
nb.Initialize("default", Application.LabelName, "DEFAULT").AutoCancel(True).SmallIcon(Small_Icon)
nb.LargeIcon( LoadBitmapResize(File.DirAssets, "applogo.png", 256dip, 256dip, True) )
'From the Message identfy the notification type
If Message.GetData.ContainsKey("NotficationTag") Then
cNotficationTag = Message.GetData.Get("NotficationTag")
End If
nb.Build(cSubject, cMsg, cNotficationTag, TheActivity).Notify(nNotificationCount)
nNotificationCount = nNotificationCount + 1
StopService("") 'Not sure whether this line is really required or not