Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: WebBrowser DigitalMod

  1. #1
    Newbie
    Join Date
    Jul 2006
    Posts
    5

    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. #2
    Raw Wave god_of_cpu's Avatar
    Join Date
    Jan 2004
    Location
    SilverSpring Maryland
    Posts
    2,960
    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.

  3. #3
    Newbie
    Join Date
    Jul 2006
    Posts
    5
    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.

  4. #4
    Variable Bitrate debugger's Avatar
    Join Date
    Mar 2006
    Location
    CA
    Posts
    313
    Quote 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

  5. #5
    Newbie
    Join Date
    Jul 2006
    Posts
    1
    Were you able to integrate your web browser with streetdeck .
    I am iterested in doing that.

  6. #6
    Newbie
    Join Date
    Jul 2006
    Posts
    5
    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.

  7. #7
    Low Bitrate gosmondson's Avatar
    Join Date
    Jun 2006
    Location
    Fresno,CA
    Posts
    85
    Quote 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"..


  8. #8
    Constant Bitrate
    Join Date
    Mar 2005
    Posts
    124
    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...

  9. #9
    Variable Bitrate debugger's Avatar
    Join Date
    Mar 2006
    Location
    CA
    Posts
    313
    Quote 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.

  10. #10
    Newbie
    Join Date
    Jul 2006
    Posts
    5
    ...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"

Page 1 of 2 12 LastLast

Similar Threads

  1. Example DigitalMod Projects
    By god_of_cpu in forum DigitalMods (Scripts / API)
    Replies: 3
    Last Post: 08-28-2008, 10:23 PM
  2. How to create a C++ COM object for StreetDeck
    By god_of_cpu in forum DigitalMods (Scripts / API)
    Replies: 20
    Last Post: 04-06-2008, 06:48 PM
  3. Intro to building DigitalMods
    By god_of_cpu in forum DigitalMods (Scripts / API)
    Replies: 1
    Last Post: 09-24-2007, 02:11 PM
  4. RELEASE!!! Skinable webbrowser
    By leckan in forum Other Cool Stuff
    Replies: 91
    Last Post: 01-18-2006, 04:31 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
  •