nNotify.Initialize
If nascondi <> "0" Then
nNotify.Icon = "icon"
nNotify.SetInfo("Recording Call", "Active", Main)
nNotify.OnGoingEvent=True
Else
nNotify.Icon = "trasp"
nNotify.SetInfo("Recording Call", "Active", Main) ' <-------------- IF YOU DONT ADD SetInfo CRASH
End If
nNotify.Sound=False
nNotify.Vibrate=False
nNotify.Light=False
nNotify.Notify(1)
Service.StartForeground(1,nNotify)
SI.Initialize2("SI", 999)
'Parte in Foregroung cosi da non essere distrutto
Service.StartForeground(1,nNotify)