iPhone Accelerometer > csv > email
        Posted  
        
            by Bradley Powers
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Bradley Powers
        
        
        
        Published on 2010-06-17T16:32:44Z
        Indexed on 
            2010/06/17
            17:13 UTC
        
        
        Read the original article
        Hit count: 353
        
Hi all, I'm trying to collect data for a machine learning project I'm working on. What I'd like to do is collect accelerometer data from an iPhone, save it to a csv and email it to myself. My app currently is able to acquire data from the accelerometer, but I'm at a bit of a loss as to how to proceed. First of all, I'd like to acquire data for a preset amount of time (after playing a sound to the user) which I don't really know how to do, and I can't find good documentation for. Also, I'd like to save that to a csv, which there is some documentation on (specifically using the NSString writeToFile method). Any recommendations/ ideas?
Thanks!
© Stack Overflow or respective owner