public class LogHistoryActivity extends SherlockActivity {
- String mLogPath = FileStorageUtils.getLogPath();
private static final String MAIL_ATTACHMENT_TYPE = "plain/text";
- private static final String LOGGER_FILE_NAME = "log.txt";
+ private static final String LOGGER_FILE_NAME = "currentLog.txt";
- File logDIR = null;
+ private static final String TAG = LogHistoryActivity.class.getSimpleName();
+
+ private String mLogPath = FileStorageUtils.getLogPath();
+ private File logDIR = null;
@Override
}
}
-
+
@Override
public boolean onMenuItemSelected(int featureId, MenuItem item) {
super.onMenuItemSelected(featureId, item);
}
}
catch (IOException e) {
-
+ Log_OC.d(TAG, e.getMessage().toString());
}
TextView logTV = (TextView) findViewById(R.id.logTV);