Results 1 to 3 of 3

Thread: Problem about skin "IDLE" event

  1. #1
    Constant Bitrate
    Join Date
    Dec 2008

    Problem about skin "IDLE" event

    I make a skin called "" which was displayed when the car climiate control was touched. The skin will exit if no touch in 3 seconds. So I use the skin IDLE event

    -- ExecTBL.ini


    -- PLUGIN
    If LCase(SDK.GetInfo("RRSCREEN")) = "" Then
    ProcessCommand = 2
    CMD = "LOAD;"
    ProcessCommand = 3
    End If

    This works but not perfect since the skin was closed and re-open during continous climate operation. So I changed the code:

    -- ExecTBL.ini

    -- PLUGIN
    Dim curTime As Date = Date.Now()
    Dim diff As Long = DateDiff(DateInterval.Second, StatusHolder.climateBean.lastChangedTime, curTime)
    If diff >= 3 And LCase(SDK.GetInfo("RRSCREEN")) = "" Then
    CMD = "EXIT"
    ProcessCommand = 3
    ProcessCommand = 2
    End If

    After code change, it was a much longer time than 3 seconds that the skin was close when no climate operation . I trace the debug.txt, the IDLE event was fired after 30s.

  2. #2
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Chicago area,IL
    Assuming that this is from the ProcessCommand function....

    -- PLUGIN
    If LCase(SDK.GetInfo("RRSCREEN")) = "" Then

    Should be:

    -- PLUGIN
    If frm.Tag = "" Then

    No need to ask for the current screen when its given to you. The frm.Tag is the current screen's skin file name in lower case.

    Hard to tell by the details that you have given us, but there as to be something that your doing either in your plugin or some RRCode that is causing this "IDLE" to not work correct for you.

    Another small note, If the screen is infact a smaller "Popup" then you should change your method of how its being loaded from "LOAD;" to "MENU;"
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [v1.0 Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins

    "There are no bugs - only undocumented features."

  3. #3
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Toronto, Canada
    You should look at the debug log and see what commands/events could possibly be resetting the idle timer, and perhaps replace it with a standard timer..
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

Similar Threads

  1. How To: Get your new skin out to the masses.
    By monkeyracer in forum RR FAQ
    Replies: 10
    Last Post: 07-19-2008, 08:59 AM
  2. Digital FX 2.0 Transparent Released
    By JohnWPB in forum RR Skins No Longer Supported
    Replies: 3759
    Last Post: 03-07-2008, 01:23 PM
  3. Very simple skin
    By lbridges in forum RR Skins
    Replies: 5
    Last Post: 01-25-2008, 10:36 AM
  4. StreetDeck Skin Problem
    By Solixa in forum StreetDeck
    Replies: 9
    Last Post: 06-27-2007, 11:27 AM
  5. RR w/Blue Devil Skin - XM Problem
    By Bump in forum Road Runner
    Replies: 1
    Last Post: 12-20-2006, 10:10 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts