Results 1 to 1 of 1

Thread: Curious issue between DFX5 and an embbeded application

  1. #1
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,840

    Curious issue between DFX5 and an embbeded application

    Hello all,
    I have a curious issue with my plugin RRGOOGLEMAPSTOOLS and DFX5 !
    A visual area is defined into the main screen (menu.skin) like that:
    [Visual Area]
    Z,14,7,772,121

    If i comment this line, the main screen of my plugin is well loaded and after that the application is well embedded !
    But with this line, the RR stay on the main screen and freeze !!!

    I have found a solution that is load the plugin's screen (load;RRGoogleMapsTools.skin), wait 2 seconds (WAIT;2) and after that embed the application (GMAPS_TOOLS_MAIN) !
    Code:
                Case "gmaps_tools" 'main command
                    SDK.Execute("load;RRGoogleMapsTools.skin||WAIT;2||GMAPS_TOOLS_MAIN")
                    ProcessCommand = 2
                Case "gmaps_tools_main" 'internal
                    If SDK.GetInd("online") = "True" Then
                        If Timer1.Enabled = True Then Timer1.Stop() : RestartTimerAfterLoad = True
                        If Timer2.Enabled = True Then Timer2.Stop() : RestartTimerAfterLoad = True
                        CreateGpsToAdd_Html() ' create the html file
                        'SDK.Execute("Load;RRGoogleMapsTools.skin;GmapsApiForm;;GmapsApiForm")
                        SDK.Execute("RUN;;GmapsApiForm") ' embed command
                        GmapsBrowser.go(MainPath & "gmaps_gpstoadd.html") 'map with cross or header logo
                        GmapsBrowser.Show() ' the the application
                        If RestartTimerAfterLoad = True Then Timer1.Enabled = True : Timer2.Enabled = True : RestartTimerAfterLoad = False
                    Else
                        If SDK.GetInd("pluginmgr;status;gps2city") = "True" Then
                            SDK.Execute("gmaps_gps2city_copy")
                        Else
                            SDK.SetUserVar("ADDRESSCLIP", "***")
                        End If
                        SDK.Execute("SETVAR;RRGoogleMapsToolsInfo;" & SDK.GetUserVar("l-set_CheckInternet") & "||menu;RRGoogleMapsTools_info.skin")
                    End If
                    ProcessCommand = 2
    But with this solution , i have the same issue when i use the button esc or quit for return to the main screen (RR freeze again) but not if i comment the Z line !

    In Carwings , i have not this issue because the first screen hasn't a visual area! and i use this code:
    Code:
    Case "gmaps_tools"
                    If SDK.GetInd("online") = "True" Then
                        If Timer1.Enabled = True Then Timer1.Stop() : RestartTimerAfterLoad = True
                        If Timer2.Enabled = True Then Timer2.Stop() : RestartTimerAfterLoad = True
                        CreateGpsToAdd_Html()
                        SDK.Execute("Load;RRGoogleMapsTools.skin||RUN;;GmapsApiForm")
                        GmapsBrowser.go(MainPath & "gmaps_gpstoadd.html")
                        GmapsBrowser.Show()
                        If RestartTimerAfterLoad = True Then Timer1.Enabled = True : Timer2.Enabled = True : RestartTimerAfterLoad = False
                    Else
                        If SDK.GetInd("pluginmgr;status;gps2city") = "True" Then
                            SDK.Execute("gmaps_gps2city_copy")
                        Else
                            SDK.SetUserVar("ADDRESSCLIP", "***")
                        End If
                        SDK.Execute("SETVAR;RRGoogleMapsToolsInfo;" & SDK.GetUserVar("l-set_CheckInternet") & "||menu;RRGoogleMapsTools_info.skin")
                    End If
                    ProcessCommand = 2
    If you have an idea please ?

    Thanks

Similar Threads

  1. Dfx5.1 & using my wideband in rr..?
    By Paul Murray in forum Road Runner
    Replies: 9
    Last Post: 07-21-2011, 04:25 PM
  2. Camera issue in DFX5 skin!!!
    By locs4dayz in forum RR Skins
    Replies: 0
    Last Post: 12-04-2010, 11:53 AM
  3. DFX5 [Released 09/29/10]
    By JohnWPB in forum RR Skins No Longer Supported
    Replies: 277
    Last Post: 10-06-2010, 06:13 AM
  4. Embbeded Mp3 Art Plugin
    By guino in forum RR Plugins
    Replies: 117
    Last Post: 03-19-2010, 03:49 PM
  5. Embedding Application issue
    By chuckbyu in forum Road Runner
    Replies: 2
    Last Post: 01-08-2009, 11:44 AM

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
  •