
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
signalBeacon
How to add a "AppLaunchComplete" beacon to a non-SG app ( 2D)?
this:
esgee = CreateObject("roSGScreen") peep = esgee.getGlobalNode() peep.signalBeacon("AppLaunchComplete")
returns:
BRIGHTSCRIPT: WARNING: roSGNode.signalBeacon: not reachable. AppLaunchComplete not signalled: pkg:/source/main.brs(19)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: signalBeacon
I found it odd too it shows in the documentation it assigns it to the scene.
I just use this:
m.top.signalBeacon("AppLaunchComplete")
Works for me and sends the beacon from anything.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: signalBeacon
Yeah, that didn't work for me. There is no RSG in this app. m.top huh? The way I did it is the only way that gets any response so far. Tried making a scene and that didn't go either.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: signalBeacon
Brightscript Debugger> n=createobject("rosgnode","scene")
Brightscript Debugger> n.signalBeacon("AppLaunchComplete")
10-18 19:31:03.422 [beacon.signal] |AppLaunchComplete ---------> Pending Render Pass
does that work?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: signalBeacon
Sorry no, the first line hangs it. Doesn't crash in the debugger, but requires the home button to clear.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: signalBeacon
Maybe it is only required for sgNode apps since it appears only tied to them. You might be off scot free. Able to just jaunt without having these periodically ring in your ear. Beacon free possibly if you stay far away from sg?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: signalBeacon
My hearing does get a bit sensitive when they shout required for certification! , but you may be right.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: signalBeacon
Half the certification list doesn't apply to games. I wouldn't mind some extra clarity on some of them in that regard, but oh well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: signalBeacon
Did you get a resolution to the problem? I have tried similar solutions but get the same errors that you got.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: signalBeacon
n = createobject("rosgnode","scene")
n.signalBeacon("AppLaunchComplete")
Works for me but I am just using a traditional grid screen home screen.