What is the best way to track your mileage, routes and calories burned? Recently I got a new cyclocross bike and now I am daily commuting around 25km (not much, but daily) and I am trying to calculate my diet, calories etc. 

Now I am wondering if there is a good device or an android app that I could use precisely for: 


tracking routes
mileages
calories burned
data connects with popular apps/platforms or can be exported (that is a huge plus)!


I have HTC One (m7), its a great phone and I would prefer to use it instead of buying some additional device. 

I am asking here because there are literally TONS of this stuff online and it just becomes so hard to identify what is actually useful, while you guys might suggest something :)
There are several phone apps / web sites you can use. They all have a free mode and a premium mode. A few of them are:


Endomondo
Last time I used this (a couple of years back) it was able to give real time updates and "coaching" on your performance. It can handle many different sports and activities.
MapMyRide
I haven't used this; some other people here do use it. Hopefully they'll say why.
Strava
I currently use this one. The main "benefit" is the social aspect, if you like to see what your friends are doing, and for them to see what you do. 


I believe Endomondo and Strava do all that you say you want, and I expect that MapMyRide would do also. They all provide a data export feature.