OK. Following Erels advice, if anyone could test/review this very, very simple project for me and let me know if it works on their device, I'd be grateful. On the OneS, no notifications appear, though the vibrate etc does happen. I tried installing in an emulated device as I don;t have other hardware to test. It didn't work there either. This was a 4.03 virtual device.
Version=2.00
IconFile=
FullScreen=False
IncludeTitle=True
NumberOfModules=0
Package=uk.co.pjsmith.notifytest
Label=notifytest
VersionCode=1
VersionString=
Orientation=unspecified
CanInstallToExternalStorage=False
DoNotOverwriteManifest=False
ManifestCode=
NumberOfFiles=0
NumberOfLibraries=1
Library1=core
@EndOfDesignText@
'Activity module
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
End Sub
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
End Sub
Sub Activity_Create(FirstTime As Boolean)
Dim n As Notification
n.Initialize
n.Insistent=False
n.Light=True
' set different behaviour for different priorities
n.OnGoingEvent=True ' also tried without this
n.SetInfo("New alert", "test", "") 'Change Main to "" if this code is in the main module.
' run the alert
n.Notify(0)
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub