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
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.
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.
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
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.
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
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"
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 :)