I use acar, which is an android app. I believe it has most of the functionality you mention, it was priced at $6 I think, and is well worth it IMO. I use it mainly for gas mileage tracking, which is fairly sophisticated.
I truly believe if you go down this route, you need to make it compatible...