I have spend about an hour searching, and have come up with nothing...
Hopefully one of you skin Gutu's can help
I want to load a defined application ("GPS" in this case, as defined in the RR.ini file ) into a skin. I can't seem to figgure out the button code.
and that works fine, but loads a second instance of iGuidance. How can I load a new skin, without loading a 2nd copy of iGuidance?
I would immagine it to be something like:
But that does not work, probably a small bit of syntax I have wrong.
Are you using the iGnative deal ? if so, that won't work... however, if you're NOT using the ignative deal, both the load command and the run command MGD suggested would work (provided you specify the window title to embed)..
For this hot-switch between screens with iG in "native" mode, some improvements have to made to the code.
Guino, I think you nailed it! I am using the IG Native beta. Now when I even go from the GPS skin back to the main menu, and back to the GPS skin, a second instance of iG starts. I was pulling my hair out trying to figgure why iG wasnt getting a GPS lock! I did after all have a green symbol in the system tray saying I had a 3-D lock!!!!! It was then I realized that another instance of iG had the lock and the com port tied up in the background! It wasnt till I did the ole' 3 finger shuffle that I saw there were 2 other IG tasks running. (hidden from normal view ant the taskbar of course )
I guess it's back to iGLaunch and the annoying flickering screens, until "some improvements have to made to the code".
I got to toying around with this, and it's a bit frustrating. Is there some sort of workaround to use the copy og iG that is currently running when switching to another skin? I used the "CLOSE" command on the exit button for the skin, but that just makes iG reload, and have to aquire a new signal, and loses the current route....
Don't use the CLOSE Command as it CLOSES the currently embedded program. You don't need to do this. Whatever skin you using just go to the skin browser and change your skin. It will not close RR or any embedded program. Use the EXIT command to switch between screens.
MGD, Yea I am aware of that... and normally that holds true.Don't use the CLOSE Command as it CLOSES the currently embedded program.
However, I am using a beta version of RR that embeds iGuidance into a skin, removing borders and the title bar ect, without any external plugins/helpers such as iGLaunch, SkinBedder ect.
Right now if I am on the main screen, and go to my GPS screen, go back to the main menu, and back to the GPS screen, a second instance of iGuidance loads. I am just using the standard "GPS" as code on my main menu button, nothing else to launch the GPS screen, and I still get multiple instances. Thats why I said I put a "CLOSE" on the button to return to the main screen from the GPS skin/screen.
When I say switching "skins" I did not mean a completely new skin, just a new screen in the current skin.
Just gonna have to sit back till the code is perfected and sorted out. In the mean time, it is back to using iGlaunch.
JWPB, I send the code to guino for iG native. We have a talk regarding embedded iG in any windows. Hopefully, I test some more tomorrow to have that capability.
With the beta release week ago, it is only possible to embedded iG in either external_gps.skin or external_gps_full.skin. If you try to embedded iG in any other screen (audio_gps.skin) a 2nd or 3rd instance of iG will be running.
Very kewl... Great work so far, do NOT take this as a complaint by ANY means! It is just something that came up, and I was not sure if there was a work around, or something that I was just doing wrong.