PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > Windows Mobile Software
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-05-2006, 05:01 PM
DavidIQ's Avatar
PPCGeeks Regular
Offline
Pocket PC: Treo 800w & HTC Snap (wife's)
Carrier: Sprint
Location: Clearwater, FL
 
Join Date: Jun 2006
Posts: 220
Reputation: 10
DavidIQ is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to DavidIQ
MPG Calculator for Pocket PC

A while back, on a forum I run for the Suzuki Aerio, I had an idea for creating a program to keep track and calculate your Miles Per Gallon. So I came up with the one attached here. Makes it easy to keep track of your MPG and see how well you're doing gas-wise. Written in .NET 2005 so you'll need the .NET Framework 2.0 unless you have Windows Mobile 2005 in which case you already have it. Ignore any warnings about the installer if you're on WM2005.

There might be bugs in this thing so if you find one let me know and I'll get right on it.

EDIT: added file for those accessing via PPC.
Attached Files
File Type: zip mpgppc_107.zip (45.5 KB, 48 views) Click for barcode!
File Type: zip mpgppc2_601.zip (12.8 KB, 50 views) Click for barcode!
__________________
Reply With Quote
  #2 (permalink)  
Old 07-05-2006, 06:04 PM
Wideawake's Avatar
Founder & Owner
Offline
Pocket PC: iPhone XS Max
Carrier: Sprint
Location: Clermont, Florida
 
Join Date: May 2006
Posts: 5,577
Reputation: 4644
Wideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributions
Mentioned: 8 Post(s)
Tagged: 0 Thread(s)
Send a message via Skype™ to Wideawake
sweet I always wanted to know my mpg and this is a good way to do that. if I run into any bugs ill let ya know. note everyone this is a .exe that has to run on the desktop to install.
~mike
__________________
Please read this before posting.



Reply With Quote
  #3 (permalink)  
Old 07-05-2006, 10:05 PM
wingzero's Avatar
Halfway to VIP Status
Offline
Pocket PC: Touch pro
Carrier: Sprint
Location: Louisiana
 
Join Date: May 2006
Posts: 698
Reputation: 0
wingzero is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
This is nice. I always kept a log for my car. My commute to work is 150 miles everyday and keeping an eye on gas usage is important to me. Now I might have alittle fun doing it on the ppc. :P
Reply With Quote
  #4 (permalink)  
Old 07-06-2006, 11:23 PM
DavidIQ's Avatar
PPCGeeks Regular
Offline
Pocket PC: Treo 800w & HTC Snap (wife's)
Carrier: Sprint
Threadstarter
Location: Clearwater, FL
 
Join Date: Jun 2006
Posts: 220
Reputation: 10
DavidIQ is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to DavidIQ
Cool. If need be I can also post this as a zipped cab file for easier access via WAP.

I noticed that the download times doesn't increment. Bummer. Most probably incremented by the download.php page. We may need to take that out of the template so it doesn't show...unless you want it to stay there.
Reply With Quote
  #5 (permalink)  
Old 07-06-2006, 11:27 PM
Wideawake's Avatar
Founder & Owner
Offline
Pocket PC: iPhone XS Max
Carrier: Sprint
Location: Clermont, Florida
 
Join Date: May 2006
Posts: 5,577
Reputation: 4644
Wideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributions
Mentioned: 8 Post(s)
Tagged: 0 Thread(s)
Send a message via Skype™ to Wideawake
I really wanted it to work, but noticed it stopped after moddifing the download.php. Any idea if we can get it back to working order? If not we can just remove it. and ya a zipped .cab would be great! I myself and I think alot of the members use their ppcs when accessing the board.
~mike
Reply With Quote
  #6 (permalink)  
Old 07-06-2006, 11:37 PM
DavidIQ's Avatar
PPCGeeks Regular
Offline
Pocket PC: Treo 800w & HTC Snap (wife's)
Carrier: Sprint
Threadstarter
Location: Clearwater, FL
 
Join Date: Jun 2006
Posts: 220
Reputation: 10
DavidIQ is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to DavidIQ
There's a way to do this so it only affects those downloads that you actually have to click on. Images and streams would still show the downloaded times part. All you would need to change in viewtopic_attach_body.tpl is:

Code:
#
##FIND
#
		<td rowspan="4" align="center" width="10%" class="attachrow">{postrow.attach.attachrow.S_UPLOAD_IMAGE}
{L_DOWNLOAD}</td>

#
##REPLACE WITH
#

		<td rowspan="3" align="center" width="10%" class="attachrow">{postrow.attach.attachrow.S_UPLOAD_IMAGE}
{L_DOWNLOAD}</td>

#
##FIND
#
	<tr>
		<td width="15%" class="attachrow"><span class="genmed">{postrow.attach.attachrow.L_DOWNLOADED_VIEWED}:</span></td>
		<td width="75%" class="attachrow"><span class="genmed">{postrow.attach.attachrow.L_DOWNLOAD_COUNT}</span></td>
	</tr>

#
##REPLACE WITH
#
<!--
	<tr>
		<td width="15%" class="attachrow"><span class="genmed">{postrow.attach.attachrow.L_DOWNLOADED_VIEWED}:</span></td>
		<td width="75%" class="attachrow"><span class="genmed">{postrow.attach.attachrow.L_DOWNLOAD_COUNT}</span></td>
	</tr>
-->
I'll put up the zipped cab version tomorrow.
Reply With Quote
  #7 (permalink)  
Old 07-06-2006, 11:55 PM
Wideawake's Avatar
Founder & Owner
Offline
Pocket PC: iPhone XS Max
Carrier: Sprint
Location: Clermont, Florida
 
Join Date: May 2006
Posts: 5,577
Reputation: 4644
Wideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributions
Mentioned: 8 Post(s)
Tagged: 0 Thread(s)
Send a message via Skype™ to Wideawake
yea that removed them perfectly, but it kindof makes things a mess. the downloads area has a section that say downloaded, I sure I can omit it the same way. So there isnt away fix the download counter?
~mike
Reply With Quote
  #8 (permalink)  
Old 07-07-2006, 07:42 AM
DavidIQ's Avatar
PPCGeeks Regular
Offline
Pocket PC: Treo 800w & HTC Snap (wife's)
Carrier: Sprint
Threadstarter
Location: Clearwater, FL
 
Join Date: Jun 2006
Posts: 220
Reputation: 10
DavidIQ is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to DavidIQ
Not without using download.php which is what is actually incrementing the counter.
I can try and look at what's making the images increment the counter and see if something in the code doing that can be added to the downloadable ones.
Reply With Quote
  #9 (permalink)  
Old 07-07-2006, 07:49 AM
Wideawake's Avatar
Founder & Owner
Offline
Pocket PC: iPhone XS Max
Carrier: Sprint
Location: Clermont, Florida
 
Join Date: May 2006
Posts: 5,577
Reputation: 4644
Wideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributionsWideawake should be added to the payroll for their contributions
Mentioned: 8 Post(s)
Tagged: 0 Thread(s)
Send a message via Skype™ to Wideawake
I didn't think of that or I would have tried that. I added the super quick reply mod last night, and like a idiot didn't back up. And ran into some probelms I'm trying to fix, with the quick reply box, and the user name hyperlinking to the profile instead of whatever they have it linked now. I may have a lookcy at the download.php in a min.
~mike
Reply With Quote
  #10 (permalink)  
Old 07-07-2006, 07:54 AM
DavidIQ's Avatar
PPCGeeks Regular
Offline
Pocket PC: Treo 800w & HTC Snap (wife's)
Carrier: Sprint
Threadstarter
Location: Clearwater, FL
 
Join Date: Jun 2006
Posts: 220
Reputation: 10
DavidIQ is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to DavidIQ
Weird....using the SQR makes the post come up a bit to the right.
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > Windows Mobile Software


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 11:48 PM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com