Announcement

Collapse
No announcement yet.

WebBrowser DigitalMod

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • WebBrowser DigitalMod

    I've written a simple web browser for Street Deck. I worked out the code in VB, now I'm ready to bring it into SD, however, I'm unsure as to how to draw the Browser window itself.

    I would assume that it is very similar to the Mappoint Map, but I haven't seen any documentation on how to accomplish this.

    Any help would be appreciated.

  • #2
    This isn't really what the SDK was designed for. It doesn't support embedding and more or less by design, is very painful to use any windows GUI elements in it. There are some ways you could get around this, but you'll be fighting StreetDeck all the way.

    If you want to browse the web in a generic sense, you should just launch a web browser as an external application. Yes, there is a need to make ie or whatever browser more touchscreen friendly for use while your stopped, but StreetDeck does not address this yet. The current focus is on driver friendly applications. If you want to access some specific content from the web and display it in StreetDeck in a way that is usable while driving, you should download the content as html or xml, parse it, then use the StreetDeck SDK to display it in a touchscreen friendly form. i.e. like a nav enabled movie listing or weather content.
    StreetDeck.com Developer (I am Chuck)
    Get StreetDeck at http://www.streetdeck.com
    The Official StreetDeck Forums have moved, please visit us at http://www.streetdeck.com/forum for official support for Streetdeck.

    Comment


    • #3
      Thanks for the reply, but that wasn't exactly the answer I was hoping for.

      I would like to be able to modify and integrate all of my external applications into SD, thus maintaining a consistant user experience without the need for window minimizing and task switching.

      I'm up for the fight to make this work. I would be thankful for any workarounds that you have available to make this work.

      Comment


      • #4
        Originally posted by Fricker View Post
        Thanks for;; the reply, but that wasn't exactly the answer I was hoping for.

        I would like to be able to modify and integrate all of my external applications into SD, thus maintaining a consistant user experience without the need for window minimizing and task switching.

        I'm up for the fight to make this work. I would be thankful for any workarounds that you have available to make this work.
        That's "fricking" awesome Fricker..... just use an open source browser and rewrite streetdeck....I dont thinks so... But what u can do is create a skin for your browser.

        U might wanna try Restorator 2006

        It allows you:

        Translate existing applications (localization)
        Customize the look and feel of programs
        Replace logos and icons (branding)
        Enhance control over resource files in the software development process
        Hack into the inner workings of applications on your computer

        Here's what it did on streetdeck (example):

        protected:
        BOOL m_bTrace;
        LOGFONT m_lf;

        virtual void OnDestroy()
        { // Move mouse over the symbol to view its definition
        DO_TRACE(m_bTrace, "CMyClass::OnDestroy ()");
        } // Type "this->" to open class members' popup list
        };
        http://www.bcgsoft.com
        http://incarCPU.com

        Comment


        • #5
          Were you able to integrate your web browser with streetdeck .
          I am iterested in doing that.

          Comment


          • #6
            That's "fricking" awesome Fricker..... just use an open source browser and rewrite streetdeck....I dont thinks so... But what u can do is create a skin for your browser.
            Well, It's not so much an open source browser, but rather just using the COM object for IE, simple enough, however I can't seem to draw the render window itself. It's gotta be possible some how, because the Mappoint Map is done in exactly the same way.

            Once again GOC, if you've got any workarounds, please clue us in, I think that once released, this could be a popular modification.

            I'm still stuck on this, and to be honest, it's kinda got put on the back burner for a while. I've been scripting an autoscan and connect tool for my WRT. I've got it working and its pretty slick. DD-WRT is awesome, and the client mode works great after adding this. It's now on the same functionality as Windows WZC, except every network is available for connection automatically.

            Comment


            • #7
              Originally posted by Fricker View Post
              Well, It's not so much an open source browser, but rather just using the COM object for IE, simple enough, however I can't seem to draw the render window itself. It's gotta be possible some how, because the Mappoint Map is done in exactly the same way.

              Once again GOC, if you've got any workarounds, please clue us in, I think that once released, this could be a popular modification.

              I'm still stuck on this, and to be honest, it's kinda got put on the back burner for a while. I've been scripting an autoscan and connect tool for my WRT. I've got it working and its pretty slick. DD-WRT is awesome, and the client mode works great after adding this. It's now on the same functionality as Windows WZC, except every network is available for connection automatically.

              That big pool in the air called "linksys"..

              Comment


              • #8
                Well I have not yet looked the SD sdk, but what you want to do is almost impossible in the way you want to do it.
                Mainly because a normal windows application, like your web browser, uses device contexts to draw in the screen but SD uses Direct3D, it means no device contexts are used at all, so they are incompatible in the way they draw the screen.
                Like god_of_cpu said you will need to parse the html files yourself and display using SD rendering facilities, of course, you will have to account for java web pages, flash, etc...
                I know Windows Vista uses direct3d to display the applications so maybe will be a hack in the future, but for now...

                Comment


                • #9
                  Originally posted by cederron View Post
                  I know Windows Vista uses direct3d to display the applications so maybe will be a hack in the future, but for now...
                  Yeah, it will take windows and flip'em sideways.
                  You might be able to do an arial view in SD of your IE window j.k.
                  http://incarCPU.com

                  Comment


                  • #10
                    ...What confuses me is that everyone says this can't be done, but, it already has been. Navigation uses the Mappoint API. This is a COM component, that Chuck used to render the map. I was attempting the exact same thing using the IE API to "skin" in a webbrowser for SD.

                    I spose that the current SDK doesn't offer the functionality that we/I need, but the ability is already coded in to SD to allow for this. Maybe Chuck could shed some light onto the "ways to get around this"

                    Comment


                    • #11
                      i guess the mappoint sdk uses a direct3d view to render the maps, this explains the easy integration.

                      Comment


                      • #12
                        ok. Fricker was correct, this can be done in the same way that mappoint view is displayed.
                        A webbrowser control should be used and then hook in the DC of the control, get the pixels and copy to a texture.
                        Googleing a bit you can see it.
                        What I don't know is if the SD sdk allows to create/manipulate textures or overlays buffer...

                        Comment

                        Working...
                        X