Thanks!
On Jun 18, 11:28 am, Advanceroot <[EMAIL PROTECTED]> wrote:
> Hi Sylvester:
>
> Well, System.out.println does not work here. If you want to print somthing,
> you can use Log class, and static methods like: i/e/v etc. and you will see
> the result in DDMS perspective.
>
> --from another android-beginner :)
>
> 2008/6/18 <[EMAIL PROTECTED]>:
>
>
>
> > Hi Sylvester.
>
> > What do you want to use the System.out.print statement for? Is it to
> > print messages? If so, you can use the showAlert function (i.e.:
> > showAlert("title", 0, "Message", "Accept", false);). If you want to
> > print something for debuggin purposes, you can use the Eclipse
> > Debugger, which works very well. To find out more about the error,
> > set a breakpoint in your source code (double-click on the marker bar
> > next to the source code line). Then select Run > Debug History >
> > Hello, Android from the menu to enter debug mode. Your app will
> > restart in the emulator, but this time it will suspend when it reaches
> > the breakpoint you set. You can then step through the code in
> > Eclipse's Debug Perspective, just as you would for any other
> > application.
>
> > Hope this works!
>
> > Juan
>
> > On 15 jun, 22:48, "Romain Guy" <[EMAIL PROTECTED]> wrote:
> > > Hi,
>
> > > You must use android.util.Log (for instance Log.d("MyApp", "message")
> > > and then use the logcat tab/view in Eclipse, or use adb logcat from
> > > the command line.
>
> > > On Sun, Jun 15, 2008 at 8:35 PM, Sylvester Steele
>
> > > <[EMAIL PROTECTED]> wrote:
>
> > > > hi,
> > > > I am trying to use System.out.print , but the console does not show
> > > > any output. My exact line is:
> > > > System.out.print(activity.getTitle().toString()); but I haven't had
> > > > luck with any other System.out.print(*whatever*); statement either.
>
> > > > 1. Is there a better way of doing this?
> > > > 2. Am I doing something wrong?
>
> > > > thanks,
> > > > Sylvester
>
> > > --
> > > Romain Guywww.curious-creature.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---