(文中均以HTC Hero的畫面為例)
之前一直覺得機車加油加很兇,卻又不知實際狀況。所以就去找了個可以記錄加油狀況及計算油耗的軟體(Mileage)。用了後才發現我的小摩托車耗油耗得真兇啊…..

廢話不多說,以下就開始介紹安裝及設定。
==========
程式安裝
打開 Android Market,搜尋 Mileage 或掃瞄下列QR Code:
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-d7156d98e0e57aa8fd34db0f6964753d.png)
點選安裝:
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-615a9ce3d5af65a2920167d1a94f0af9.png)
安裝完後,展開所有程式,點選 Mileage即可開啟:
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-02d66d518925b877eabd04b1e55ebce5.png)
程式畫面如下:
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-7c8f84e76f32096a9e05761a2473c174.png)
----------
基本設定
設定車輛:
按 MENU 鍵,選 Vehicles
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-1f4fac3af05ec007c218e1a2127d2343.png)
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-1ccf7b58286a1641ec04d321ebfd7499.png)
點一下Default Vehicle修改預設的車輛
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-85360b1bf044dbaeb0f2362f5aed7994.png)
修改完後,記得按Save Vehicle儲存:
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-78e1953829e0d04999f76900ca843810.png)
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-10f35de5ce9b2fc328027c6188762141.png)
再按 BACK 就可回到主畫面 (Fill-Up)。
設定單位
Mileage預設是英制的,在台灣先改為公制較方便。在主畫面按 MENU 鍵選 Settings
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-fdf11e7947e4d22efe3d72fb471f652c.png)
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-f95b995815d96cca8e3a57f5fa03e940.png)
改油量單位為公升 (Litres)
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-371a04459ba5e4f0eff3ddbeb404fb28.png)
改距離單位為公里 (Kilometers)
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-d8de0c14631de849df1a555e4032f963.png)
改油耗單位為Km/L (Km per Litre)
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-b2c2ca973f1ad64018d1d50e4c44b512.png)
日期格式選喜歡的即可
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-f9521e1d2d133346e5fedadc1a524cf3.png)
貨幣符號用預設的就行
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-58df291bfbb44397f68fb930efe469f4.png)
----------
開始使用
新增加油資料
程式啟動的第一個畫面(Fill-Up)就是加油的資料。只要填入油價、加油量及里程表讀數就可以囉。價錢是用油價乘公升自動算,所以統計資料會有小數,但差不多啦。日期會預選當日,點一下就可以改變。備註欄就依需要自己填吧。
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-32d6d216ff1e43a13127548af8c9ceb6.png)
查看加油紀錄
按下 History 就可以列出之前的紀錄。在第二筆開始才會算出上次到這次加油的油耗。備註中那個NT$是自己打的,這樣一眼就可看出加多少錢。
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-39a538c0b9af1bc8737e67bf4d51cc08.png)
查看統計資料
Statistics這個應該不用解釋吧。就是列出平均油耗、平均加油花費、每公里平均成本…等。不過 Fuel / 16094 16094 不知是什麼?
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-dbaa22ce95f46788ed8b69d1a230e1ae.png)
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-3f0c8c6a85ae437b0cf72e82bb2d14c8.png)
查看圖表
按下Charts可以畫出六種圖表
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-09b78c164f5051d82968c621f1e73b91.png)
Fuel Price (油價)
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-077dd4592deaf3737eec39eda2fa04a4.png)
Amount of Fuel (加油量)
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-9973c084e8fadfdb697fe7fbc11c542b.png)
Fill-Up Cost (加油花費)
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-b57eb1b0f9e11e412b152c30df72c0c7.png)
Distance Between Fill-Ups (每次加油行走距離)
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-f66ecb2ff8240fdc99f38056753d3053.png)
Vehicle Odometer (里程表讀數)
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-d9c792b7944b3ff74cf5db87c1c0d879.png)
Fuel Economy (油耗)
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-015cb2f3f3a875f33cdd82a82cdd62ed.png)
(怎麼就只有一次像吃了大力丸似的

----------
多車輛設定
在主畫面按 MENU 選 Vehicles
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-4a10007deb4d069430146a6243bbc31d.png)
再按一次 MENU 後選 Add Vehicle,填上必要資料就可以囉
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-cc6986227917f146fd956cd8e3f11b07.png)
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-7e53b553e50bcb372ae6eb4a71f71405.png)
如要更改資料只要點選車輛名稱,如果要刪除的話,在車輛名稱上長按等選單出來後再按Delete
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-565ffdc4e7f887b0b20c14b5c8c440c3.png)
有設多車輛的話,在主要選項中都會多一個選單可以選車輛
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-6ffddfe9e0eb429deeac6dfd4e83aa0b.png)
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-e335a9c36d57dfbf805bf5e292418bd5.png)
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-0f54aee89dd635b8f6341db12f1f6bc6.png)
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-f563f2f62c2c4580ca8672e385ca0943.png)
----------
保養提醒
這個功能可設定提醒該作什麼保餋,例如幾千公里要換機油… 等。
在主畫面按 MENU 選 Service Intervals
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-aa8a5576220c2adea47c7f13fa218ffb.png)
之級再按 MENU 選 Add Service Interval
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-5657a78a2b6699a5d39b2f1cd41e11fb.png)
預設是使用Custom(全都自己填),也可以選預先設好的範例,如換機油、傳動皮帶…. 等。但使用預先設好的,備註欄是不能改的。
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-49ff217df5ccfaf0aa136e091a287a37.png)
———-
資料庫維謢
Mileage的資料庫會目動備份在 /sdcard/mileage/ 這個目錄中,但只保留最近的一份。資料可用SQLite DB/SQL/CSV的格式匯入或匯出,方便備份或移到別的程式。
在主畫面按 MENU 選 Import/Export
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-73f04a24a4ed6a9e31a5aac4c2a5ac55.png)
如果要直接回復上次備份,只要點選 Restore from latest backup
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-8d2f922e982d6dd38e05c8245bd16dd2.png)
如果想整個重頭來的話,可按 MENU 後選 Erase 就可以把整個資料都清乾淨
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-bb3ae3baef93312b8b82efeb02ce3b75.png)
要匯出的話,選Export下對應的格式即可 (以CSV為例)
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-7d3cc98e367cc51b0d05e54e1dfdf1d3.png)
要匯入的話,選Import下對應的格式即可 (以CSV為例,但要注意選對日期格式,如不確定可先打開CSV檔查看)
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-b8896524900a809060321785b1dc365f.png)
==========
後記
雖說每次加油時會儘量在大約相同刻度時去加,但每個加油的並不會在同一個地方算加滿。沒有去研究在這種情況下,程式怎麼去算。不過這個也只用來參考而已,不是要做什麼精密統計,就不管他了。

不過一個簡單的程式似乎被我寫得好複雜,一堆圖。希望沒有讓人一看就昏倒。
以前用WM手機時就不會想試這麼多東東,換Android手機後,大概是程式安裝移除都很容易,就比較會去找些合用的程式玩玩。

===========
(11/12增加)
再仔細看了一下這程式是用 「(這次里程表讀數 - 上次讀數) ÷ 這次加油量」 去算油耗。
所以加滿的地方就變得比較重要。汽車可能沒太大差別,摩托車油箱小,差異就較大了。
像我的摩托車油箱大概在4公升左右,但加油孔跟油箱可說是連在一起,彈槍就停跟目視
加到滿可以差到0.5公升以上。所以如果上一次加到很滿,這次彈槍就停的話,一算就會
變成這次超省油....

如果有這個情形的話,加得較少的這次就點選「Tank was not filled to the top」,
下次加油才會算油耗,應該就會合理些。
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-8a1caa08e11b029164c5ae1fb4519755.png)
![[分享] 油耗記錄軟體 Mileage](http://attach.mobile01.com/attach/200911/mobile01-55ee72d6b32db8b34bc14d95634c8fc8.png)