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


Quartz Single Crystal Wafers AT cut. Double sided polished. picture

Quartz Single Crystal Wafers AT cut. Double sided polished.

$8.95



Dental Glass Quartz Fiber Post Root Canal Pin Straight Screw Restorative 1.0-1.8 picture

Dental Glass Quartz Fiber Post Root Canal Pin Straight Screw Restorative 1.0-1.8

$256.61



Dental Fiber Post Resin Screw Thread Quartz Drills Yellow/Red USPS CEFDA picture

Dental Fiber Post Resin Screw Thread Quartz Drills Yellow/Red USPS CEFDA

$244.36



2 Pounds ZNSE Zinc Selenide Crystal Raw Substrate For Optics Optical Use LOT A picture

2 Pounds ZNSE Zinc Selenide Crystal Raw Substrate For Optics Optical Use LOT A

$26.98



Yabangbang USA Dental Fiber Post Resin Screw Thread Quartz & Drills 4 Type Color picture

Yabangbang USA Dental Fiber Post Resin Screw Thread Quartz & Drills 4 Type Color

$316.63



Dental Endo Quartz Fiber Post Straight Screw Thread Posts 1.0 1.2 1.4 1.6 1.8mm picture

Dental Endo Quartz Fiber Post Straight Screw Thread Posts 1.0 1.2 1.4 1.6 1.8mm

$465.29







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