Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2008

Tip: Looking for answers? Try searching our database.

BlackBerry JDE 4.3.0

Thread view: 
Clinto - 04 Mar 2008 23:25 GMT
Hello,

I am trying to write a simple program for a blackberry that will take
two integers as inputs from the user and add them together and return
the sum. I am having a difficult time finding out what package and
what commands will allow me to take data from a user imput. I have
reviewed the API, but am unable to determine what to use. For Java in
netbean I use java.util.scanner and construct a new instance of
scanner. Does anyone know what contructor and what methods I should
use? Thanks.
Roedy Green - 05 Mar 2008 01:06 GMT
>I am trying to write a simple program for a blackberry that will take
>two integers as inputs from the user and add them together and return
[quoted text clipped - 4 lines]
>scanner. Does anyone know what contructor and what methods I should
>use? Thanks.

I don't have a Blackberry, but if anyone wants to give me one, I would
be happy to help them with coding problems. That is actually quite a
good deal for a corporation, though not for a student.

--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
Clinto - 05 Mar 2008 01:18 GMT
On Mar 4, 7:06 pm, Roedy Green <see_webs...@mindprod.com.invalid>
wrote:

> >I am trying to write a simple program for a blackberry that will take
> >two integers as inputs from the user and add them together and return
[quoted text clipped - 13 lines]
> Roedy Green Canadian Mind Products
> The Java Glossaryhttp://mindprod.com

Unfortunately I don't have a blackberry either. However, I did
download Blackberry JDE 4.3.0 which has a build in blackberry
simulator that is really cool. I am thinking about getting the Pearl
though. I am doing this as an offshoot of a homework assignment. I
have started and will not be able fulfill my life until I complete
this.
TylerJames - 05 Mar 2008 22:35 GMT
> Hello,
>
[quoted text clipped - 6 lines]
> scanner. Does anyone know what contructor and what methods I should
> use? Thanks.

Hey,

What you probably want to do is create a screen with an EditField.
Then use EditField.getText() to get the user input.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.