I have an App that uses various System.out.println("Bla bla");
and I want that all these calls are captured and processed as String so I can view them in a TextView
with something like
void updateTextView(String capturedPrintline){
mytextView.setText(capturedPrintline.processPrint());
}
But unfortunately I don't know how capture ALL System.out.println
without editing manually every method class to return the content of the print as String.
How could I achieve my goal?
NB
I need that app shows the System.out.println in the TextView itself also when runs in a device without any external debugger