Sub Service_Start (StartingIntent As Intent)
Service.StopAutomaticForeground 'Call this when the background task completes (if there is one)
Dim n As NB6
If n.IsInitialized = False Then
Private icon As Bitmap
icon = LoadBitmapResize(File.DirAssets, "test.png", 24dip, 24dip, False)
n.Initialize("default", Application.LabelName, "LOW").AutoCancel(False).SmallIcon(icon)
Service.StartForeground(100, n.Build("Test1", "test ..... 1", "", Main))
Else
n.Build("Test 2", "test ..... 2", "", Main).Notify(100)
End If
End Sub