Your Digital Media Has Never Looked So Good

Search found 21 matches

  • 1
  • 2
by kidasov
Wed Nov 08, 2017 11:05 pm
Forum: Roku Developer Program
Topic: SUB or FUNCTION defined twice. (compile error &had) in Roku Os 8
Replies: 2
Views: 439

SUB or FUNCTION defined twice. (compile error &had) in Roku Os 8

After I upgraded from Roku OS 7.7 to Roku OS 8.0 this error happened. I have two files included in MainScene.xml <component name="MainScene" extends="Scene" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://devtools.web.ro...
by kidasov
Tue Oct 31, 2017 10:55 pm
Forum: Roku Developer Program
Topic: Use same task iin callback
Replies: 2
Views: 333

Re: Use same task iin callback

Bumpp
by kidasov
Fri Oct 27, 2017 7:42 am
Forum: Roku Developer Program
Topic: Convert bitmap to png or jpg
Replies: 2
Views: 320

Re: Convert bitmap to png or jpg

Yes. It was my bad. I missed it :) And thank you!
by kidasov
Fri Oct 27, 2017 7:41 am
Forum: Roku Developer Program
Topic: List of all files
Replies: 2
Views: 284

Re: List of all files

Thank you!
by kidasov
Fri Oct 27, 2017 7:31 am
Forum: Roku Developer Program
Topic: Use same task iin callback
Replies: 2
Views: 333

Use same task iin callback

Hello! I spend so much time for this problem. I want to restart same task in its callback, but it doesn't work. For example I want to create a task to make infinite counter  : <?xml version="1.0" encoding="UTF-8"?> <component name="IncVariableTask" extends="Task&qu...
by kidasov
Thu Oct 26, 2017 6:45 am
Forum: Roku Developer Program
Topic: List of all files
Replies: 2
Views: 284

List of all files

Can someone tell how to show the list of all files in Roku device, because r2d2_bitmaps shows only bitmap. I need the way to show all files stored in file system. Any help appreciated! :)
by kidasov
Thu Oct 26, 2017 5:22 am
Forum: Roku Developer Program
Topic: Convert bitmap to png or jpg
Replies: 2
Views: 320

Convert bitmap to png or jpg

I tried to use GetToFile  method from here  https://sdkdocs.roku.com/display/sdkdoc/ifUrlTransfer#ifUrlTransfer-GetToFile(filenameasString)asInteger It saves raw bitmap to file. Then I am trying to convert bitmap to png like this and remove file with bitmap. urlTransfer.getToFile(fileName)          ...
by kidasov
Thu Oct 26, 2017 4:32 am
Forum: Roku Developer Program
Topic: Texture memory
Replies: 0
Views: 411

Texture memory

Hello! I want to understand how texture memory works. I tried to download bunch of files (426 x 249). Each file is about 15kb. Then I run an r2d2_bitmaps command via telnet. And I found something, I couldn't understand. Why each image tooks so much memory (about 0.45mb). And there is one question, w...
by kidasov
Wed Oct 25, 2017 5:55 am
Forum: Roku Developer Program
Topic: Run task in for loop
Replies: 1
Views: 439

Run task in for loop

Hello guys! I get stuck with the problem. I am trying to get data asynchronously from the server in for loop. i = 0     for each album in albums         videosInAlbum = album.metadata.connections.videos.total                  if (videosInAlbum > 0)             i += 1                     newAlbum = C...
by kidasov
Fri Oct 20, 2017 1:25 am
Forum: Roku Developer Program
Topic: Image caching
Replies: 8
Views: 1066

Re: Image caching

Thank you for information! I highly appreciate, that you saved me a lot of time! :)
by kidasov
Thu Oct 19, 2017 12:42 am
Forum: Roku Developer Program
Topic: Image caching
Replies: 8
Views: 1066

Re: Image caching

Thank you! I am looking forward to meet a new Roku OS 8 to use image caching :) to curb your enthusiasm: i doubt cachefs:/ will make any difference from tmp:/ for you, assuming there is no "sacrificial" USB flash drive plugged. I don't think that is common, except for RokuTV owners that u...
by kidasov
Wed Oct 18, 2017 6:30 am
Forum: Roku Developer Program
Topic: Image caching
Replies: 8
Views: 1066

Re: Image caching

Thank you! I am looking forward to meet a new Roku OS 8 to use image caching :)
by kidasov
Wed Oct 18, 2017 6:28 am
Forum: Roku Developer Program
Topic: Usage of cachefs
Replies: 3
Views: 574

Re: Usage of cachefs

Thank you for your time! Really helpful!
by kidasov
Tue Oct 17, 2017 11:32 pm
Forum: Roku Developer Program
Topic: Roku device charles set up
Replies: 31
Views: 21218

Re: Roku device charles set up

Has anyone succeed?
by kidasov
Tue Oct 17, 2017 5:54 am
Forum: Roku Developer Program
Topic: Usage of cachefs
Replies: 3
Views: 574

Usage of cachefs

Can someone show how to use cachefs storage type ? According to documentation  https://sdkdocs.roku.com/display/sdkdoc/File+System  we can use cachefs for caching images. But  I can not simply create a task and save requested data in cachefs. For example like that. function executeTask()         url...
  • 1
  • 2