matrixebiz
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2016
09:28 AM
Help to use roMessageDialog
Hello, I hope I can word my question appropriately so I get a response back, I'll try to give the information I know properly 🙂
I have a Brightscript Roku channel that parses an XML file eg:
Can I add a roMessageDialog box in there somewhere or does the message box have to be external to the XML file parse?
https://sdkdocs.roku.com/display/sdkdoc/roMessageDialog
Thx
I have a Brightscript Roku channel that parses an XML file eg:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<categories>
<feed title="channel">
<item sdImg="pkg:/images/SD/ch.jpg" hdImg="pkg:/images/HD/ch.jpg">
<title>channle</title>
<description></description>
<streamFormat>hls</streamFormat>
<media>
<streamQuality>HD</streamQuality>
<streamBitrate>0</streamBitrate>
<streamUrl>http://myserver.com/master.m3u8</streamUrl>
</media>
<synopsis></synopsis>
<genres>Cable</genres>
<live>True</live>
</item>
</feed>
</categories>
Can I add a roMessageDialog box in there somewhere or does the message box have to be external to the XML file parse?
https://sdkdocs.roku.com/display/sdkdoc/roMessageDialog
Thx
5 REPLIES 5

RokuMarkn
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2016
09:31 AM
Re: Help to use roMessageDialog
The code to display a message box would go in your brightscript code, not in the xml file.
--Mark
--Mark
matrixebiz
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2016
09:33 AM
Re: Help to use roMessageDialog
Hi Mark, okay, crap because my channel icons and links on the main page are populated by/from the XML file so I'm not sure how to add another link on my main channel screen which when clicked on will prompt for this message box 😞
I'm using belltown's Brightscript SDK file so i assume I need to put the message box in the RokuFeed.brs file somewhere?
I'm using belltown's Brightscript SDK file so i assume I need to put the message box in the RokuFeed.brs file somewhere?
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2016
11:05 AM
Re: Help to use roMessageDialog
"matrixebiz" wrote:
I'm using belltown's Brightscript SDK file so i assume I need to put the message box in the RokuFeed.brs file somewhere?
Wait what - belltown has gone to the Dark (XML) Side now?
matrixebiz
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2016
11:21 AM
Re: Help to use roMessageDialog
Hi, I'm using this one : https://github.com/belltown/Roku-NewVideoPlayer
Is this not Brightscript?
Is this not Brightscript?
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2016
12:38 PM
Re: Help to use roMessageDialog
"matrixebiz" wrote:
Hi, I'm using this one : https://github.com/belltown/Roku-NewVideoPlayer
Is this not Brightscript?
Oh sorry - my bad, thought you are using RSG. Yes, roMessageDialog goes in one of the .brs files, which one depends on the app logic/expected behavior. E.g. could be in main.brs, UI.brs, ...