public void outputText(final TextView view, final String value) {
        runOnUiThread(new Runnable() {
            @Override
            public void run() {
                view.append(value + "\n");
                System.out.println(view);
            }
        });
    }
public void outputText(final TextView view, final String value) {
        runOnUiThread(new Runnable() {
            @Override
            public void run() {
                view.append(value + "\n");
                System.out.println(view);
            }
        });
    }
public void outputText ( final TextView view , final String value ) { runOnUiThread ( new Runnable ( ) { @ Override public void run ( ) { view . append ( value + "\n" ) ; System . out . println ( view ) ; } } ) ; }
Prints the specified text value to the view and to LogCat.

@param view
The view to print to.
@param value
The value to print.
Prints the specified text value to the view and to LogCat .