Now the trace can be saved.
path and format:
/sdcard/Documents/Trace/motionType_YYYY-MM-DD_HH-MM-SS.txt
saved content is a JSONArray
[{sensorname1:{timestamp1:[reading1,reading2,...]}},{sensorname2:{timestamp2:[reading1,reading2,...]}},...]