You Are Here:

Community: Developer Discussion Boards

#1 Old easiest way to output on the screen - 2004-07-28, 14:06

Join Date: Jul 2004
Posts: 11
dukedosa
Offline
Registered User
Dear users I hope some one can help me, this is a really dumb question but I hope some can take some time out to answer it, please.

What is the simplest way to output some text on the screen, I am trying to test what values some methods I have coded return. In normal java I would use the system.out.println to output on the dos console.
Any help would be greatly appreciated
Thank you.
Reply With Quote

#2 Old 2004-07-28, 14:41

Join Date: Mar 2003
Posts: 2,280
Location: Israel
shmoove
Offline
Forum Nokia Champion
Using an Alert is probably the easiest way:
Code:
Alert a = new Alert("INFO","Some text",null,AlertType.INFO);
Display.getDisplay(myMIDlet).setCurrent(a);
shmoove
Reply With Quote

#3 Old 2004-07-28, 18:08

Join Date: Jul 2004
Posts: 11
dukedosa
Offline
Registered User
thank you shmoove that was very helpful
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia