If you just want to print these on the activity, use a TextView and set its text to your sysouts
TextView tv = (TextView)findViewById... tv.setText("Whatever you want to print"); On 15-May-09, at 1:54 PM, Francesco Pace wrote: > Hi, thanks. > But I want print these informations on my android application...... > There is a particular UI? > > 2009/5/15 iDeveloper <ideveloper...@gmail.com> > You can use Log.d for printing debug statements to the LogCat and > Log.e for error statements. > > > > > On 15-May-09, at 1:25 PM, Francesco Pace wrote: > >> Hi Mariano, thanks for your time. >> Example : >> >> ///// CODE APPLICATION >> System.out.println("Hello"); >> foo1(); // Simple function >> System.out.println("World"); >> foo2(); // Simple function >> System.out.println("Today"); >> System.out.println("Yesterday"); >> >> I know that I can't use "System.out.println" on Android. >> >> ///// DISPLAY CONSOLE (NO WINDOW COMMAND LINE) >> - Hello >> - World (after foo1()) >> - Today (after foo2()) >> - Yesterday >> >> "adb -e logcat" display the output of the currently running >> emulator on window command line, I need to show "logs" on interface. >> Can you help me? Thanks for all. >> >> 2009/5/15 Mariano Kamp <mariano.k...@gmail.com> >> Not sure if I understand you correctly. >> >> You can run "adb -e logcat" on the command line to display the >> output of the currently running emulator. Is that what are looking >> for? >> >> >> On Fri, May 15, 2009 at 9:32 AM, Francesco Pace <paxa...@gmail.com> >> wrote: >> Hi developers, >> I need a help. I need to display all Logcats Log on console of my >> emulator, as do it the simple program "Hello World". >> Can you help me? >> >> >> >> >> >> >> >> >> > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---