[6/25] Gasmate - MPG Calculator *New! AUTOUpdate AND IMPORT!*

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • D/\SH
    Owner - Staff
    • Feb 07
    • 32484

    [6/25] Gasmate - MPG Calculator *New! AUTOUpdate AND IMPORT!*

    Update 6/25/09
    PLEASE NOTE – THERE ARE SPECIAL INSTRUCTIONS FOR UPDATING!!!!!!!

    For those of you who have an old version(not this one) of GasMate you must follow the instructions in order to upgrade to the new version. I have made a change to the database(added cost in maintenance table) and therefore you must export the data and re-import it.
    1. Export your current data that is in GasMate.
    2. Open the CSV file in a text editor(openoffice/excel break it by adding/removing quotes) and make the following change:
      Change: M,”234″,”Oil Change”,”2009-06-25 2157″,”notes”
      To: M,”234″,”Oil Change”,”2009-06-25 2157″,”COST”,”Notes”
      where cost must be a number
      PLEASE NOTE!!!!!!!!!!!!!!
      I have used quotes for the data to make sure nothing bad happens. The quotes are ONLY on the data, and not on the headers. Adding or changing the quote format WILL break stuff.
    3. Go to the directory where GasMate is installed(Program Files/GasMate) and delete the file GASMATE.SDF (database).
    4. Download the new cab
    5. Install the new cab
    6. Import the old data(modified csv) into GasMate

    If you do not wish to keep your data, you can just delete the sdf file then install the new version.
    If you do not have GasMate installed, you do not need to worry about this.
    As always, .NET CF3.5 and SQLCE are required.
    -Daniel

    http://www.lulzsoft.com/wordpress/20...mate-beta-26b/

    ======================
    Update 6/21/09 - GasMate .25c
    Ok everyone…..import is working! However, I have changed the format slightly to make this easier to parse, so exports must be done from this version or higher to be re-imported. They will NOT overwrite current entries, but if there is a match a message will come up and it will not be entered. The format for the CSV is as follows:
    ======
    Export from GasMate Beta .25b
    ,Date,ODO,Gallons,Price/Gal,Fuel Type,Total Cost,MPG,Gal/100mi
    G,”2009-06-21 1253″,”2345234″,”23″,”23″,”P remium(91)”,”529″,”First”, ”First”

    ,ODO,Work Done,Date,Notes,
    M,”23423″,”Oil Change”,”2009-06-21 1253″,”notes lulz”
    ==========
    The G and M in front tell the program that it is a gas or maint row. The last two values in the gas table are NOT necessary in that the program calculates them when it runs, so if you are importing from other data you do not need to worry about them.
    Other notes:
    • Changed Date format to yyyy-MM-dd HH:mm:ss (fixes bugs when people override date in NLS)*cough*shaggylive*cough*
    • Added warning before nuking full table

    Cab: http://www.lulzsoft.com/installers/gasmate_b.25c.CAB

    Please let me know how it works out!


    ================================================== ===
    Update 6/19/09 - GasMate beta .24e
    This is another small update....
    Changelog:
    • New update screen with details when there is an update
    • Warning before backdated or back-mileage input, but allowed. Don't be stupid, but I had this before you could delete rows.....so now if something screws up you can just delete the offending row
    • Re-disabled import button because it isn't done...planned for this weekend

    Those of you with .24a or b will be able to update right from GasMate.

    Cab: http://www.lulzsoft.com/installers/gasmate_b.24e.CAB



    ==============================================
    Just......another update..... beta .24b only nags on new updates for those of you who are autoupdating.

    Cab: http://www.lulzsoft.com/installers/gasmate_b.24b.CAB

    ===================
    Sorry for yet ANOTHER update this weekend......but this update is all about updates! Now the app will check an XML file on my server to compare the version and allow you to update OTA.



    Cab: http://www.lulzsoft.com/installers/gasmate_b.24a.CAB
    Post: http://www.lulzsoft.com/wordpress/20...mate-beta-24a/

    ================================================== ===========================

    Update 6/12/09
    Work has been crazy so I have not been able to work that much till the past 2 nights.

    Changes this time around:
    • Metric radio button works!
    • Added L/100km / G/100mi
    • New costs on front page
    • Bug fixes, code optimization

    Cab: http://lulzsoft.com/download.php?id=5
    Blog Post: http://www.lulzsoft.com/wordpress/20...mate-beta-23b/

    As always you will need the .NET 3.5 CF and SqlCe3.5


    ==================================


    UPDATE 6/7/09
    GasMate .21d
    .21 went through 4 iterations before I was satisfied.
    This release will install seamlessly over .20c. Changes this version:
    • Added export to CSV(works with excel!)
    • Added "delete this row" buttons so that you do not loose the whole table
    • Put in UI elements where they will eventually be for import, change of units

    Cab: http://lulzsoft.com/download.php?id=4
    http://www.lulzsoft.com/wordpress/20...mate-beta-21d/

    As always you will need the .NET 3.5 CF and SqlCe3.5

    -Daniel


    UPDATE 6-5-09
    =============================
    .20 had some...........bugs and went through a few iterations......
    Changes since .13
    • Custom tab to allow custom maintenance and gas types
    • Custom types stored to files
    • Bug fixes on logic
    • Moved registry settings and database creation into app so that they are not removed when uninstalled

    What does this mean? From now on the database will be left behind on uninstalls so that you do not loose data! Same goes for the custom gas/maintenance types.

    YOU WILL LOOSE DATA IN UPGRADING. PLEASE BACKUP THE SDF FILE. FROM HERE ON HOWEVER, THIS WILL NOT BE AN ISSUE.
    Cab:http://www.lulzsoft.com/installers/gasmate_.20c.CAB


    ===========================================



    So this summer I have set out to write some windows mobile apps and the first one I decided was a simple gas mileage tracking app.

    This is very alpha. Hence the name a.01. Please don't come screaming if your device catches fire. Should work on VGA/QVGA screens.

    This is VERY alpha. And ugly. What I mean by this is that it probably wont mess anything up, but it is alpha and might have bugs. Do not rely on this. I need to learn more stuff about cab installers to make sure the DB is not removed when a new version is installed.


    What is GasMate you ask? GasMate is a Windows Mobile application written in C# that uses a SqlCe database to track your gas mileage. Every time you fill up, enter in a new ODO reading, and it will be automatically calculated.


    You will need the .NET 3.5
    http://www.microsoft.com/downloads/d...9-0041345b3385


    and SQLCE
    http://www.microsoft.com/downloads/d...displaylang=en

    And finally, the CAB:
    http://www.lulzsoft.com/installers/gasmatecab.CAB

    Ill work on some screenshots later perhaps....

    I set up a website also, so check out http://www.lulzsoft.com


    Update=========================================



    So I skipped a number....... beta.12 was just not enough to bother releasing as it was mostly UI tweaks. Changes since .11:
    • Dynamic column width based on screen res(hey Microsoft, make this easier!!!)
    • new awesome settings page with registry settings for warnings
    • new gas types
    • bug fixes in SQL statements

    The next version will most likely be Beta .20, which will have a logo, and possibly the ability to delete a row instead of nuking the whole table. I also need to work on not having the database removed.

    What do I need from you? FEEDBACK! Please let me know what I can do to make this app better!

    You WILL loose your data unless you copy the SDF file out and then back!

    Cab: http://www.lulzsoft.com/installers/gasmate_beta_.13.CAB
    http://www.lulzsoft.com/wordpress/?p=44

    -Daniel

    original thread can be found here:
    Code:
    http://www.mobiletopsoft.com/board/5634/monitor-your-gas-mileage-with-gasmate-beta-21d.html
    Attached Files
    Last edited by D/\SH; June 26, 2009, 12:13 PM.
  • ebuzz
    Member
    • Mar 09
    • 192

    #2
    Re: [6/15] Gasmate - MPG Calculator New AUTOUpdate

    Has anyone ever actually got this thing to work? I've downloaded it twice from 2 different locations but when I run it I get an error message: "An unexpected error has occurred in Gasmate.exe. Select quit.......yada, yada, yada" But no app.
    sigpic

    Comment

    • D/\SH
      Owner - Staff
      • Feb 07
      • 32484

      #3
      Re: [6/15] Gasmate - MPG Calculator New AUTOUpdate

      Originally posted by ebuzz
      Has anyone ever actually got this thing to work? I've downloaded it twice from 2 different locations but when I run it I get an error message: "An unexpected error has occurred in Gasmate.exe. Select quit.......yada, yada, yada" But no app.
      fdo you have the newest verison of .net compact frameware?

      Comment

      • ebuzz
        Member
        • Mar 09
        • 192

        #4
        Re: [6/15] Gasmate - MPG Calculator New AUTOUpdate

        Originally posted by D/\SH
        fdo you have the newest verison of .net compact frameware?
        Yes, I have 3.5 written in to the Star ROM 2.0 new beginning (at least that's what you told me in that thread when I asked that question, so it must be true).
        sigpic

        Comment

        • D/\SH
          Owner - Staff
          • Feb 07
          • 32484

          #5
          Re: [6/15] Gasmate - MPG Calculator New AUTOUpdate

          Originally posted by ebuzz
          Yes, I have 3.5 written in to the Star ROM 2.0 new beginning (at least that's what you told me in that thread when I asked that question, so it must be true).
          yeah you should be fine there.... may be a different program or addition you have made to your device that is conflicting with the app..... just a thought and all i can think of since personally i dont use this program.

          Comment

          • ebuzz
            Member
            • Mar 09
            • 192

            #6
            Re: [6/15] Gasmate - MPG Calculator New AUTOUpdate

            Originally posted by D/\SH
            yeah you should be fine there.... may be a different program or addition you have made to your device that is conflicting with the app..... just a thought and all i can think of since personally i dont use this program.
            Not sure exactly what it is. I don't think I have anything that would conflict with this. I've read of others having the same problem and was wondering if anyone here actually got it to work. No biggie, not sure I'd us it much anyway.
            sigpic

            Comment

            • D/\SH
              Owner - Staff
              • Feb 07
              • 32484

              #7
              Re: [6/15] Gasmate - MPG Calculator New AUTOUpdate

              Originally posted by ebuzz
              Not sure exactly what it is. I don't think I have anything that would conflict with this. I've read of others having the same problem and was wondering if anyone here actually got it to work. No biggie, not sure I'd us it much anyway.
              yea since you said you read that at other places i would feel comfortable saying that its something with the app itself than.

              Comment

              • chufo68
                Member
                • Nov 19
                • 14

                #8
                Re: [6/15] Gasmate - MPG Calculator New AUTOUpdate

                It does work, not only do you have to have 3.5 framwork, which everyone should already have updated, but also SQLCE server compact 3.5. Here's the file I found over on his website... [CODE]http://www.lulzsoft.com/wordpress/wp-content/uploads/2009/06/sqlceppcwce5armv4i.cab/CODE] and prob gonna need a soft reset after installing.

                Comment

                • D/\SH
                  Owner - Staff
                  • Feb 07
                  • 32484

                  #9
                  Re: [6/15] Gasmate - MPG Calculator New AUTOUpdate

                  Originally posted by chufo68
                  It does work, not only do you have to have 3.5 framwork, which everyone should already have updated, but also SQLCE server compact 3.5. Here's the file I found over on his website... [code]http://www.lulzsoft.com/wordpress/wp-content/uploads/2009/06/sqlceppcwce5armv4i.cab/CODE] and prob gonna need a soft reset after installing.
                  thanks for the share and when confirmed working will add to the first post :)

                  Comment

                  • D/\SH
                    Owner - Staff
                    • Feb 07
                    • 32484

                    #10
                    Re: [6/21] Gasmate - MPG Calculator *New! AUTOUpdate AND IMPORT!*

                    updated with the newest version for all to enjoy :)

                    Comment

                    • dlichterman
                      Member
                      • Jun 21
                      • 1

                      #11
                      Re: [6/21] Gasmate - MPG Calculator New AUTOUpdate AND IMPORT

                      Hey guys-

                      I am the developer of GasMate so if you have any ideas please let me know. Now that all the features are done, I am going to work on making the code faster and hopefully make the app more finger friendly.

                      -Daniel

                      Comment

                      • puertoblack2003
                        OG Member
                        • Nov 08
                        • 8217

                        #12
                        Re: [6/21] Gasmate - MPG Calculator New AUTOUpdate AND IMPORT

                        Originally posted by dlichterman
                        Hey guys-

                        I am the developer of GasMate so if you have any ideas please let me know. Now that all the features are done, I am going to work on making the code faster and hopefully make the app more finger friendly.

                        -Daniel
                        welcome to spj.If you can introduce yourself in the introduction section so that member will know who you are and help you with your development.

                        pb

                        SPJ Bulletin @
                        forum.smartphonejunkie.org
                        Law Enforcement Forum www.phillyfinest369.com

                        Comment

                        • D/\SH
                          Owner - Staff
                          • Feb 07
                          • 32484

                          #13
                          Re: [6/25] Gasmate - MPG Calculator *New! AUTOUpdate AND IMPORT!*

                          updated first post with newest version

                          Comment

                          Working...