title: Android API for sampling download and upload speed
body: <p>This is not really a programming question right now, and is more like a start point. I'm trying to write an Android app to take samples every few seconds and profile download and upload speed, plus some more information such as time stamp, longitude and latitude given from GPS, and save all as a .csv file when done.</p>
  
  <p>I was wondering if there are any APIs, libraries, or a project somewhere I could use as a start point? Any hints?</p>
  
  <p>I've found a <a href="https://github.com/facebook/network-connection-class" rel="noreferrer">ConnectionClass</a>, but I'm not sure if it gives enough flexibility to do that.</p>