How to record accelerometer data sampled in an activity?Print into ${APP_NAME}.txt or in other way?

Hi, I met another problem tonight.

I designed an algorithm to detect jumping by accelerometer data in 3 axes. It's not very accurate right now, so I want to record data and analyze the problem. Tried to print sampled accel array in ${APP_NAME}.txt, I find the file seems to have a line limit,  perhaps ten or more by several. Do you have any other idea to record the data and playback?Thank you for your sincere help