collecting data using phone

okay
How to save the recieved data to phone to text file or any other format so i can analyze it.