Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: Reloadskin command & iguidance

  1. #11
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,248
    id have to see what your talking about...
    "reloadskin" is not something i would recomend...
    it effectly dumps all skins and thier embedded apps, so if you reload skin while on the nav screen
    rr, will reload the screen, but problly not attach the embedded window to the screen...
    i dont do "reloadskin" much, if ever...and im not sure why you would need to while on the NAV screen

    so, yes, exiting out, and coming right back, then runs the "GPS" command, which does the embedding
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  2. #12
    Maximum Bitrate
    Join Date
    May 2005
    Location
    Rochester, NH
    Posts
    616
    OK, I uploaded the video here: http://youtu.be/-KxqpSIgxdw

    I was using tapatalk on my phone last night as the forum is hit or miss.

    I understand about reloadskin not being recommended. I am open to suggestions if there is an alternative. I definitely feel the pain of all the screen files having to be reloaded after each reloadskin call.

    To explain what is going on in case I haven't previously. My arduino circuit tells my vb.net app when the dashlights are on or off. Using elite's inbuilt theme color functionality, my app sets the theme color to "silver" when the lights are off and "red" when the lights are on and then reloads the skin to force the update. I followed the method suavacito used in the theme color menu. So when he sets the theme color from the settings menu, it does what I'm doing.

    You can see in the video that I start out in iGuidance on "silver". I then switch on the headlights which is hard to see but you can see RR switch to red and go back to the iguidance screen but iguidance itself is missing. I show in taskmanager iguidance is still running and that I can re-embed it using the iguidance button. I then just repeat it the opposite direction.

  3. #13
    Maximum Bitrate
    Join Date
    May 2005
    Location
    Rochester, NH
    Posts
    616
    OK. I modified my code to do as I said. Basically it checks if rrscreen = "external_gps.skin" or "dashcommand.skin" or else. If one of the first two, it calls exgps or dashcommand which are defined in exectbl. Works well.

    Anybody know how to get dashcommand to reconnect to car on resume from standby or hibernate? I'll start researching that now.

  4. #14
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,248
    doesnt reloadskin always take you back to main menu?
    does for me, so i dont see any issue
    nore do i see any issue in the video, which is hard to follow, some words would have been nice

    clearly you are doing more thant what you are telling me, or im completly missing it


    all i know, using carwings, i go to navigation, i see iG, i do reloadskin, it goes to menu, i press navigation, i see IG
    simple

    m
    Last edited by mitchjs; 06-10-2012 at 02:20 PM.
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  5. #15
    Maximum Bitrate
    Join Date
    May 2005
    Location
    Rochester, NH
    Posts
    616
    You are correct, reloadskin takes me back to the main menu. I'm not saying RR isn't working correctly, just trying to find a way to do what I wanted reliably.

    I'm loading the current screen name into a variable, calling reloadskin then calling load and variable name. This forces it back to the screen I was on. The issue was that it would call external_gps.skin(current screen in variable) and it would be empty. I just used the inbuilt EXGPS command in the elite2 exectbl. It works fine.

  6. #16
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,248
    ok... i was confused, i thought we had an rr issue

    you can get the attached window name before you reload skin
    the user var "RRAppName"

    so... get the current screen, get the appname
    reloadskin
    load the previously saved screen, restore the app with "run;;appname"

    ideally, you know, there are other things going on, besides the app...

    you could just do the command "GPS" if the screen name is "external_gps.skin"

    so... get current screen name, reloadskin, if "external_gps.skin" then "GPS"

    m
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  7. #17
    Maximum Bitrate
    Join Date
    May 2005
    Location
    Rochester, NH
    Posts
    616
    Cool, Thanks. sorry for the confusion. The real issue originally was the embedded app issue which you resolved with 6/1/2012. From there I had to figure out what I was doing wrong

    Thanks again!

Page 2 of 2 FirstFirst 12

Similar Threads

  1. FU iGuidance 4 skin
    By kelmk in forum Road Runner
    Replies: 4
    Last Post: 01-08-2008, 10:56 PM
  2. Reload skin externally?
    By kozmo in forum Road Runner
    Replies: 17
    Last Post: 09-04-2007, 02:01 PM
  3. Reload Skin
    By Enforcer in forum RR Bug Tracker
    Replies: 7
    Last Post: 04-23-2006, 11:42 PM
  4. XM Reload
    By Chuck in forum Road Runner
    Replies: 19
    Last Post: 03-22-2006, 10:07 PM
  5. Reload Skin
    By liquid_smoke in forum RR Skins
    Replies: 6
    Last Post: 11-01-2005, 04:43 PM

Bookmarks

Posting Permissions

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