BlackBerry JDE 4.3.0

C

Clinto

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.
 
R

Roedy Green

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.

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.
 
C

Clinto

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.

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.
 
T

TylerJames

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.

Hey,

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top