I have an app that runs live streaming, and when I submitted it, I got a response about adding text inside the appDetailScreen.brs file
screen.setstaticratingenabled(false)
I was told
Please use SetStaticRatingEnabled(False) on your springboard
If your channel is based on the videoplayer example you can go into the preshowdetails function and the refreshShowDetails functions and add screen.setstaticratingenabled(false), if you remove the line, the stars will show.
but when I placed the code inside the appDetailScreen.brs I couldn’t compile the app to package it.
What was the error message from the debugger?
–Mark
no the error message was an Email from Joel regarding the problems with our app. He advised me to add the line “screen.setstaticratingenabled(false)” to the appdetailscreen.brs
You said after you added that line, the app wouldn’t compile. I’m asking what the error message was when the compile failed.
–Mark
Application Received: 335759 bytes stored.
Install Failure: Compilation Failed.
This is where I placed it
Function refreshShowDetail(screen As Object, showList As Object, showIndex as Integer) As Integer
print "refreshShowDetail -------------------------->appDetailScreen"
if validateParam(screen, "roSpringboardScreen", "refreshShowDetail") = false return -1
if validateParam(showList, "roArray", "refreshShowDetail") = false return -1
show = showList[showIndex]
'Uncomment this statement to dump the details for each show
'PrintAA(show)
screen.ClearButtons()
'screen.AddButton(1, "resume playing")
screen.AddButton(1, "play ")
screen.setstaticratingenabled(false)
screen.SetContent(show)
screen.Show()
End Function
When you upload your channel to your device, you should also be running a telnet session to the device on port 8085 so you can see if there are any errors and troubleshoot those errors.
Application Received: 335759 bytes stored.
Install Failure: Compilation Failed.
is actually what i got sorry
Everything will be going great, but once I put that code line inside the brs file, it crashes.
*** ERROR compiling /pkg:/source/appDetailScreen.brs:
Syntax Error. (compile error &h02) in …g:/source/appDetailScreen.brs(11)
Note: GC - Found 18 orphaned objects (objects in a circular ref loop).
So there’s a typo or something on line 11 of appDetailScreen.brs. If you can’t find the error, post the first 12 lines of that file.
–Mark
I fixed it. thanks for all the help though