roku

How to implement Deep Linking in Roku SG application?

两盒软妹~` 提交于 2019-12-11 04:07:57
问题 I need help understanding deep linking, because our Roku Scene Graph application was rejected by Roku. Roku explains deep linking here: https://sdkdocs.roku.com/display/sdkdoc/Deep+Linking, but this documentation is not detailing all information about deep linking. For example, how do we get the contentId and mediaType? Here is our main() function that runs on launch: function main(args as Dynamic) as Void print "args" args if (args.ContentId <> invalid) and (args.MediaType <> invalid) if

Roku: Reading a text file present in server

人走茶凉 提交于 2019-12-10 23:09:02
问题 I want to read a text file present in a server from my Roku program. I reffered the following question. Read and write from temp file in Roku The above link has solution to read file from tmp/. So, I tried something like this: text=ReadAsciiFile("<server_file_path>/file.txt") But it is not able to open the file. Is there any other way to read a text file present in server? 回答1: ReadAsciiFile() is only used to read files from pkg:/ and tmp:/ directories. You should use rourltransfer for this.

How to Access another file Label using a Brightscript?

独自空忆成欢 提交于 2019-12-02 08:35:08
问题 I'm trying to simple navigation. And I tried more than one way to open another screen. Hide/show concept (But It's working only single File). Using View Stack (But Still Not Working) Using tag and inside the tag to call another file. (But Its error has given Interface not a member of BrightScript Component) Using the same tag and inside the tag to call another file. (But It does not fetch the value from another file). Here My First File Write a code to First Screen Main.brs screen =

How to Access another file Label using a Brightscript?

只愿长相守 提交于 2019-12-02 07:37:13
I'm trying to simple navigation. And I tried more than one way to open another screen. Hide/show concept (But It's working only single File). Using View Stack (But Still Not Working) Using tag and inside the tag to call another file. (But Its error has given Interface not a member of BrightScript Component) Using the same tag and inside the tag to call another file. (But It does not fetch the value from another file). Here My First File Write a code to First Screen Main.brs screen = CreateObject("roSGScreen") 'one Application only once roSGScreen m.port = CreateObject("roMessagePort") screen

How do I open another channel from one channel in Roku?

試著忘記壹切 提交于 2019-11-29 16:07:46
I am able to use curl to get apps and the apps id from my computer in Roku device. And ultimately, I am able to launch channels using curl from my local computer with e.g. curl -d '' ' http://192.x.x.x:8060/launch/33739 ' but what I am looking for is doing similar operation where I will have a list of channels and then I should be able to open the channels. In external Control Guide of Roku in http://sdkdocs.roku.com/display/sdkdoc/External+Control+Guide it is said that it can be done, but it doesn't have a detailed information how this can be done. So, can someone help me find a way to do