title: Android, Logging Sensor Data to a File
body: <p>I would like to log sensor data (Accelerometer, Gyro, Magnetometer, GPS, etc.) and record a time history which can be accessed for future plotting and analysis (as well as some real time calculations).  I am a MATLAB programmer, so .csv files came to mind, but I've also seen a little about MySql, which I'm not too familiar with.  </p>
  
  <p>My question is, which datalogging method is most appropriate?  I'm not limited to the two mentioned above, they're simply what I've seen so far.  Any suggestions/ example codes?  </p>
  
  <p>PS, I've also run across MicroLog4Android (<a href="http://code.google.com/p/microlog4android/" rel="nofollow">http://code.google.com/p/microlog4android/</a>) but there are not any examples which I have come across, and being new to Android, I cannot tell if its meant for logging higher speed data (10-20 Hz) or if it's simply a program errorlog.  It has some cool features (SMS sending, network storage, etc.) which make it attractive if this is indeed an appropriate tool.</p>