Forum Discussion

sunilpawar's avatar
sunilpawar
Visitor
14 years ago

SpringboardScreen button navigation

Hi

I have SpringboardScreen with three button and poster of video
Buttons are like
Button Index : Title
0 : Preview for 2 minutes
1 : Subscribe to channel
2 : Back
By default "Preview for 2 minutes" button is selected
is it possible: after watching the 2 minute preview (control get back to springboard screen ), "Subscribe to channel" button should be focused/selected.

Thanks
Sunil

5 Replies

  • destruk's avatar
    destruk
    Streaming Star
    You should be able to remove the 'back' selection since the user can press UP on any remote to do the same thing.
  • Or, when the user returns to the springboard screen after watching the preview, you could redisplay the buttons so you have:

    0: Subscribe to channel
    1: Watch 2 minute preview again

    Then the Subscribe button will be highlighted when they return back to the springboard screen.

    EDIT: TheEndless beat me to it.
  • Thank you very much

    I done it using External Control Protocol

    Get the IP Address of Roku Device



    Function GetRokuLocalIP() As String

    print "---GetRokuLocalIP---"

    For Each key in m.ips

    ipAddress = m.ips[key]

    if ipAddress <> invalid and ipAddress.len() > 0 then

    return ipAddress

    end if

    Next

    Return ""

    End Function
    ip = GetRokuLocalIP()
    ecp_url = "http://" + ip + ":8060/keypress/Down"
    print "ecp_url " ; ecp_url
    req = CreateObject("roUrlTransfer")
    request.SetUrl(ecp_url)
    request.PostFromString("")


    Sunil