Announcement

Collapse
No announcement yet.

Gas Price DigitalMod

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

  • Gas Price DigitalMod

    I wanted to get feedback on the Gas Price digital mod, i've been working on. The functionality is similar to the one found in RoadRunner, but made easy to use.

    Gas Price DigitalMod displays the gas prices of the 8 closest gas station from your current zipcode. The digiMod indicates and annouces the lowest price gas station. it also allow you to navigate to any of the displayed gas stations by clicking on the gas prices.
    The gas price information is retrieve from an online site and the website information is cached until the next search is made.
    Internet access is required to find the newest price but not to access the module. The zipcode is computed using streetdeck's navigation api

    Here is a display of the module.



    Installation

    Unzip the Gas Price.zip attached and install the GPS Gas Price.sdz
    before running, make sure to register the two dll in the script project

    ASPtear.dll
    GasPriceDLL.dll

    run the following command from start->Run for those unfamiliar with registering dlls

    regsvr32 "scriptprojectPath\GasPriceDLL.dll"
    regsvr32 "scriptprojectPath\ASPtear.dll"

    There are still some minor details i need to fix before officially releasing it. so I would like to know what you like/dislike about it. I also need icon's for the majority of gas station, if any of you have it please email them to me at [email protected]
    Another thing i cant get to work is the ability to set the focus on a button. I would like to automatically set the focus to the button of the lowest price gas station.

    update

    Here is the new version of the mod
    Can be downloaded from the wiki page. check page 2 for link





  • #2
    very nice!

    I will download this and instal it in the car. I'll give it a whirl over the next few days!

    kudos on the hard work!
    Jan Bennett
    FS: VW MKIV Bezel for 8" Lilliput - 95% Finished

    Please post on the forums! Chances are, someone else has or will have the same questions as you!

    Comment


    • #3
      glad the asptear tip worked out for you.. also try brandsoftheworld.com for gas icons
      .______
      | '_ |__\___
      [(o)|___(o)] XB
      ._________
      | I__I I_I|_\__I
      [(o)______(o)]b VanPimpin'

      LostReceptions Apps D/L Here

      GPSGasoline- Rewriting

      Draw- SkribblePad for Touchscreens

      iGQwerty-iG3.0 Qwerty Keyboard

      CarPCNetwork

      Comment


      • #4
        Originally posted by lostreception View Post
        glad the asptear tip worked out for you.. also try brandsoftheworld.com for gas icons
        Thanks for the tip. That made coding this very easy. i'll also check out that site of the icons

        Comment


        • #5
          Very cool. If I can get a bluetooth adapter before the weekend, I'll try it out on my weeklong trip next week.

          Comment


          • #6
            why do you need bluetooth? to get internet from your phone to your CarPC?
            Jan Bennett
            FS: VW MKIV Bezel for 8" Lilliput - 95% Finished

            Please post on the forums! Chances are, someone else has or will have the same questions as you!

            Comment


            • #7
              Exactly. I have a Treo650 paired with a Dell Latitude D800 without built-in bluetooth. I suppose I could use the USB cable that came with the phone, but it would suck to have to unplug it every time I exit the vehicle.

              Comment


              • #8
                It wants to give me gas prices in Kansas City, regardless of where I am.

                Comment


                • #9
                  Looks great!

                  You should be able to set the focus to any panel with just the SetFocus method of any control.

                  If you make a sub folder called COM i.e. <Script GUID Folder>\COM and place all your .dll files in it, StreetDeck will automatically call regsvr32 or regasm (for .Net dlls) when extracting the SDZ file.
                  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


                  • #10
                    Upon further investigation, it appears that whatever Streetdeck is using to get zip codes just sucks. The Navigation module isn't returning my zip code, which is 29550.

                    Is this database user editable?

                    Comment


                    • #11
                      What about those of use who drive diesels?

                      Comment


                      • #12
                        Originally posted by Meatballman View Post
                        Upon further investigation, it appears that whatever Streetdeck is using to get zip codes just sucks. The Navigation module isn't returning my zip code, which is 29550.

                        Is this database user editable?
                        It uses mappoint directly for the database, but it can only find a zipcode if it can get a complete address for your location. It should always return a zip code after you move around for a while, but it might not get one until it finds its first location.

                        The weather digitalmod uses the zip code. During debugging the zipcode doesn't always get returned, but in real world testing with a real GPS hooked up, I've never had it fail, but its possible it can. Does the weather DigitalMod work for you?
                        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


                        • #13
                          Does the weather DigitalMod work for you?
                          Not from this location, but I'm sitting in an office with the GPS in a window sill. Like you said, it will probably work in a real world situation where I'm moving around.

                          Thanks,

                          John

                          Comment


                          • #14
                            Anyone from Canada try this yet? Was this coded to accept postal codes (i.e. alpha-numeric) as well?

                            Comment


                            • #15
                              Originally posted by god_of_cpu View Post
                              Looks great!

                              You should be able to set the focus to any panel with just the SetFocus method of any control.

                              If you make a sub folder called COM i.e. <Script GUID Folder>\COM and place all your .dll files in it, StreetDeck will automatically call regsvr32 or regasm (for .Net dlls) when extracting the SDZ file.
                              Cool, i'll create the COM folder for the dll's.
                              I did see the SetFocus method, but i've had some problems using it. The latest error i have when using it is "Object required".
                              Would you happen to have an example of its usage?

                              Thanks

                              Comment

                              Working...
                              X