Wckediden - Mobile Tricks and Tweaks Community

Wckediden - Mobile Tricks and Tweaks Community (https://www.wckediden.com/index.php)
-   Mobile Locker (https://www.wckediden.com/forumdisplay.php?f=551)
-   -   [6/25] Gasmate - MPG Calculator *New! AUTOUpdate AND IMPORT!* (https://www.wckediden.com/showthread.php?t=187612)

D/\SH 06-18-2009 08:05 PM

[6/25] Gasmate - MPG Calculator *New! AUTOUpdate AND IMPORT!*
 
3 Attachment(s)
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 21:32:57″,”notesà ¢â‚¬Â
    To: M,”234″,Ã¢à ‚¬ÂOil Change”,Ã¢à ‚¬Â2009-06-25 21:32:57″,”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 12:43:53″,”2345234″ ,”23″,ââ €šÂ¬Ã‚23″,Ã¢â‚¬à Premium(91)”, ƒÂ¢Ã¢â€šÂ¬Ã‚529″,ââ⠀šÂ¬Ã‚FirstÃ¢â‚¬à ,”Firstà€

,ODO,Work Done,Date,Notes,
M,”23423″,⠢‚¬ÂOil Change”,Ã¢à ‚¬Â2009-06-21 12:43:53″,”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


http://www.lulzsoft.com/wordpress/wp...6/sshot001.png
==============================================
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.

http://www.lulzsoft.com/wordpress/wp..._0012_111a.JPG

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

http://www.lulzsoft.com/wordpress/wp..._0002_111a.JPG http://www.lulzsoft.com/wordpress/wp..._0001_111a.JPG
==================================


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=========================================
http://www.lulzsoft.com/wordpress/wp...gs-150x150.png


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

ebuzz 06-19-2009 09:52 AM

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.

D/\SH 06-19-2009 01:10 PM

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

Originally Posted by ebuzz (Post 381971)
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?

ebuzz 06-19-2009 02:04 PM

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

Originally Posted by D/\SH (Post 382032)
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).

D/\SH 06-19-2009 06:34 PM

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

Originally Posted by ebuzz (Post 382045)
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.

ebuzz 06-19-2009 06:37 PM

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

Originally Posted by D/\SH (Post 382100)
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.

D/\SH 06-19-2009 07:44 PM

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

Originally Posted by ebuzz (Post 382102)
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.

chufo68 06-19-2009 08:47 PM

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.

D/\SH 06-19-2009 09:48 PM

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

Originally Posted by chufo68 (Post 382144)
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 :)

D/\SH 06-22-2009 09:24 PM

Re: [6/21] Gasmate - MPG Calculator *New! AUTOUpdate AND IMPORT!*
 
updated with the newest version for all to enjoy :)

dlichterman 06-24-2009 02:05 AM

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

wcked 06-24-2009 11:10 AM

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

Originally Posted by dlichterman (Post 383225)
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 Wckediden.If you can introduce yourself in the introduction section so that member will know who you are and help you with your development.

wcked

D/\SH 06-26-2009 01:14 PM

Re: [6/25] Gasmate - MPG Calculator *New! AUTOUpdate AND IMPORT!*
 
updated first post with newest version


All times are GMT -4. The time now is 11:31 AM.

Powered by vBulletin® Version 3.8.14
Copyright ©2000 - 2026, vBulletin Solutions Inc.
POWERED BY PHILLYFINESTSERVERSTAT FOR WCKEDIDEN|- NEXTELELITE| - PPCTHEME| - IDENINSIDER