Sending information to PC and exporting interactions to csv

Hello everyone,

I’m building a VR app to Google Cardboard.
The app will contain several user interactions I want to get access to on the computer.

I want to be able to create a CSV\JSON file which will contain information about the interactions in the game (in this case: a button pressed by the user and the button’s ID)
and eventually will be sent back to the computer through BT\WIFI (the phone cannot be connected to the pc with a cable).

I’d like to know if there are any plugins I might need and how to program the event graph to create the data.

Thank you all!