Android Question Why does not this code show a notification? [SOLVED]

interlnk

Member
Licensed User
Why does not this code show a notification? Produces sound, but does not display "Hi" in the notification area.

Code: Copy
Sub Service_Start (StartingIntent As Intent)
    Dim Noti As Notification
    Noti.Initialize
    Noti.SetInfo("Title", "Hi", Main)
    Noti.Notify(1)
End Sub
 
Try this
Code: Copy
Sub Service_Start (StartingIntent As Intent)
    Dim Noti As Notification
    Noti.Initialize
    Noti.Icon="icon"
    Noti.SetInfo("Title", "Hi", Main)
    Noti.Notify(1)
End Sub
 
Upvote 0
Back
Top