private void buildReport ( Context context ) { try { buildBaseReport ( ) ; buildApplicationData ( context ) ; buildDeviceData ( context ) ; buildLog ( ) ; report . put ( "application" , app ) ; report . put ( "device" , device ) ; report . put ( "log" , logs ) ; } catch ( JSONException e ) { e . printStackTrace ( ) ; } }
Creates the report as a JSON Object .