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.
- Export your current data that is in GasMate.
- 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. - Go to the directory where GasMate is installed(Program Files/GasMate) and delete the file GASMATE.SDF (database).
- Download the new cab
- Install the new cab
- 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
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:
http://www.mobiletopsoft.com/board/5634/monitor-your-gas-mileage-with-gasmate-beta-21d.html
Comment