private void sendDebugReportToAuthor(){
  String theLine;
  String theTrace="";
  try {
    BufferedReader theReader=new BufferedReader(new InputStreamReader(mAct.openFileInput(EXCEPTION_REPORT_FILENAME)));
    while ((theLine=theReader.readLine()) != null) {
      theTrace+=theLine + "\n";
    }
    if (sendDebugReportToAuthor(theTrace)) {
      mAct.deleteFile(EXCEPTION_REPORT_FILENAME);
    }
  }
 catch (  IOException eIo) {
  }
}

private void sendDebugReportToAuthor ( ) { String theLine ; String theTrace = "" ; try { BufferedReader theReader = new BufferedReader ( new InputStreamReader ( mAct . openFileInput ( EXCEPTION_REPORT_FILENAME ) ) ) ; while ( ( theLine = theReader . readLine ( ) ) != null ) { theTrace += theLine + "\n" ; } if ( sendDebugReportToAuthor ( theTrace ) ) { mAct . deleteFile ( EXCEPTION_REPORT_FILENAME ) ; } } catch ( IOException eIo ) { } }
read in saved debug report and send to email app .
