Results 1 to 4 of 4

Thread: progressbar or loading image?

  1. #1
    Join Date
    Sep 2006

    progressbar or loading image?

    How I can obtain a progressbar or a loading gif image?

    I've made a plugin with a slider code.

    Then I've tried to change the slider value every 'x' seconds

    ....the slider simply is not working, it is not displayed...


  2. #2
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    If you go down to the woods today, You're sure of
    post up the slider code you have used in the skin.

    plus the slider code you have used in the extension.cls slider

    One thing to note, make sure you return an integer between 0 - 65536 otherwise it won't work.

  3. #3
    Join Date
    Sep 2006
    This is my C#code:
    private int count = 0;
    public long ReturnSlider(string SLD)
          long ret = -1;
          switch (SLD.ToLower())
                case "cpc_loading":
                     ret = 4096 * count;
                     count = count % 17;                
          return ret;
    This is my skin code, I'm using slider battery image to test:


  4. #4
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Toronto, Canada
    1-Verify that the skin portion is working as desired:
    -change the slider code to something like "MASTER"
    -add a pointer to the slider (so you don't depend on the backimages to view its position)

    Once you have verified the skin portion works by itself, then you can check the plugin portion:

    2-Check the debug log to see if the plugin is loaded correctly, verify it is enabled, and that it didn't crash when loading or something like that -- anything that causes the plugin to not load or to crash will prevent your code from taking action.

    3-Code wise, I don't know how forgiving C# is with type conversions and such, but you may want to make "count" into a long to avoid a problem when calculating the "ret" value -- if possible, even typecast 4096 as a long value to avoid any issues. Other than that, your code should work.

    Alternatively you can use a slider from a skin that you know works and change just the slider code to "cdc_loading" code. Just be sure that RR isn't "waiting" for anything else in your application to load/process or it will not have time to update the slider on screen while you're loading/processing other things.
    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. EniCar the RR Clone
    By enitalp in forum Software & Software Development
    Replies: 296
    Last Post: 12-13-2008, 06:12 PM
  2. GPS Loading splash image
    By spdwebdotnet in forum Media Engine
    Replies: 4
    Last Post: 08-26-2008, 01:26 PM
  3. problems with navigation in streetdeck
    By customaudioman in forum StreetDeck
    Replies: 3
    Last Post: 01-25-2008, 01:46 PM
  4. Holux GPS Trouble
    By mangus580 in forum StreetDeck
    Replies: 34
    Last Post: 11-26-2007, 09:56 PM
  5. Archive
    By Bitoholic in forum Mobile Media Center
    Replies: 2358
    Last Post: 09-21-2006, 06:59 PM


Posting Permissions

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