BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 05-12-2012, 12:17 PM   #1
Muftah
New Member
 
Join Date: May 2012
Model: 9700
PIN: N/A
Carrier: IT support
Posts: 5
Exclamation Blackberry java plugin

Please Login to Remove!

Hi there ,

hopefully I am writting in the right place to get my answer , actually I wanted to start a project which is Unint converter + GPA calculator , so I strated doing that , and I have designed the initial screens , but what I wanted is How to add command to the button to perform an opreation between 3 text field addion , mul, divsion... and show the result in the third text field .

I attached a picture which will make my idea more clear to you he design in the attachments ,
I appreciate any little help from you .
Attached Images
File Type: jpg My screen.jpg (289.0 KB, 7 views)
Offline  
Old 05-13-2012, 11:36 AM   #2
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Default Re: Blackberry java plugin

Typically, you add a field change listener to the button(s).

See the javadocs.
Offline  
Old 05-14-2012, 02:44 PM   #3
Muftah
New Member
 
Join Date: May 2012
Model: 9700
PIN: N/A
Carrier: IT support
Posts: 5
Default Re: Blackberry java plugin

Quote:
Originally Posted by Dougsg38p View Post
Typically, you add a field change listener to the button(s).

See the javadocs.
I wish its as simple as that , but yet I am not able to get to my point .

its simple " connect a button to text field " , my friend suggested the same solution as you but yet I not getting what I want .

I would be grateful if you help much more .
Offline  
Old 05-14-2012, 05:40 PM   #4
hrbuckley
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Default Re: Blackberry java plugin

Well, with the information you have provided, I would have said the same thing as Doug. So three to one, you need to provide more information in your question.
__________________
My other Blackberry is a PlayBook.
Offline  
Old 05-14-2012, 11:50 PM   #5
Muftah
New Member
 
Join Date: May 2012
Model: 9700
PIN: N/A
Carrier: IT support
Posts: 5
Default Re: Blackberry java plugin

hi there ,

simply I need to create 3 text fields and button .

take the input from them the perform any mathematical operation then display the result is the third text fields .
This is really what i want , I hope you got it .
Offline  
Old 05-15-2012, 12:00 AM   #6
Muftah
New Member
 
Join Date: May 2012
Model: 9700
PIN: N/A
Carrier: IT support
Posts: 5
Default Re: Blackberry java plugin

and guess what , I am doing my degree in Computer science and engineering , but java course was my first course since I have got my credit transferred from diploma program.

I have gone through C++ which is a nightmare , and believe me I was in love with Visual basic .
Offline  
Old 05-15-2012, 05:26 AM   #7
Muftah
New Member
 
Join Date: May 2012
Model: 9700
PIN: N/A
Carrier: IT support
Posts: 5
Default Re: Blackberry java plugin

I will attach my app file .
Offline  
Old 05-15-2012, 07:10 AM   #8
hrbuckley
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Default Re: Blackberry java plugin

Quote:
Originally Posted by Muftah View Post
hi there ,

simply I need to create 3 text fields and button .

take the input from them the perform any mathematical operation then display the result is the third text fields .
This is really what i want , I hope you got it .
Then what Doug told you was correct.
__________________
My other Blackberry is a PlayBook.
Offline  
Old 05-15-2012, 08:47 AM   #9
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Default Re: Blackberry java plugin

Did you look at the samples that ship with your dev tools? I'm pretty sure there is a demo "GPACalc" somewhere that calculates your grade point average when you press a button.

Also see this thread, and please learn to use the Search button on the forum.

http://www.blackberryforums.com/deve...p-buttons.html
Offline  
Closed Thread


Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads for: Blackberry java plugin
Thread Thread Starter Forum Replies Last Post
Knowledge Sharing - Perform basic troubleshooting steps for Novell GroupWise noname BES Admin Corner 1 01-12-2010 07:33 AM
Perform a cutover to another BlackBerry Enterprise Server in IBM Lotus Domino hdawg BES Admin Corner 3 04-25-2008 09:47 AM
Blackberry Activation(s)... Barry_Black General BlackBerry Discussion 5 06-07-2007 12:07 PM
Vodafone and Dimension Today Installation Information (7130e) zarza Media Center 42 06-12-2006 09:14 PM


Mindray C5-2s Convex Transvaginal Ultrasound Probe Transducer - SOLD AS IS picture

Mindray C5-2s Convex Transvaginal Ultrasound Probe Transducer - SOLD AS IS

$849.99



NEW NOVOTECHNIK TLH-0150 TLH 150 Position Transducer picture

NEW NOVOTECHNIK TLH-0150 TLH 150 Position Transducer

$160.00



PHILIPS C9-5ec Ultrasound TRANSVAGINAL Probe/Transducer - Great Condition picture

PHILIPS C9-5ec Ultrasound TRANSVAGINAL Probe/Transducer - Great Condition

$999.99



5V Pressure Transducer or Sender 30psi-1600Psi for Fuel Diesel Oil Air Water picture

5V Pressure Transducer or Sender 30psi-1600Psi for Fuel Diesel Oil Air Water

$19.06



Johnson Controls Ctd-C1g00-1 Current Transducer, Split,Foot Mounted picture

Johnson Controls Ctd-C1g00-1 Current Transducer, Split,Foot Mounted

$90.00



MTS LPRHVU00701 Temposonics Transducer Linear Position LPR-HVU-00701 90014868 picture

MTS LPRHVU00701 Temposonics Transducer Linear Position LPR-HVU-00701 90014868

$238.95







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.