Generally I would say the Log method replaces (wraps) the sys.out.println. That is used for debugging mostly.
If you are trying to print text to the display you can do that in the ondraw if you are doing the drawing yourself in your game. If not, you can put a textview in your layout and then use settext as you have indicated like this:
- Code: Select all
TextView mTitle; //class scope declaration
mTitle = (TextView) findViewById(R.id.some_text_view); //somewhere in code
If you are trying to simulate a terminal there isn't any easy way unless you can find some code to do it already done. Such as in Android Terminal.
I don't understand "printing my method".
Hope this helps.