Is it possible to have a 3 day long or more data collection of IMU sensors from android smartphone?

  android, android-studio, smartphone

I want to build an application that records IMU sensor data and saves them into csv file in phone memory. The application should record with fastest sampling frequency. I want it to record users motion for 3 days (72 hours) or week if possible.

I have several questions:

In terms of loading and saving the file.. I think it could be terrible to work with.. I heard it is better to save the file as binary file? Is it possible to do so in my case?

If I am interested in movement, is there a way to start the recording when a movement is detected? For ex. I don’t want to save data when the phone is static on the table.

If I can’t do so, Can I schedule time to record IMU data in ? for example from 10 a.m. to 2 p.m. record IMU data?

Finally, one last general question, is it possible to use a smartwatch to do all that instead of a phone itself?

Source: Android Questions