×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Jun 2008
    Posts
    108

    Simple calculator

    Pls give me a sample code for a simple calculator or helpful documents related to gui development of a calculator.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,736

    Re: Simple calculator

    Stick with the (currently) neighboring thread: http://discussion.forum.nokia.com/fo...d.php?t=136889

  3. #3
    Registered User
    Join Date
    May 2008
    Posts
    29

    Re: Simple calculator

    hi remesh
    Well I want to know that you are developing just a simple calculator which can perform basic mathematical operations or there are some extra features in that.
    If your calculator is same as windows(desktop) then it is a bit difficult as you have to handle all the things in one numeric box, on the other hand if you are thinking of developing just a basic calculator then you can take input in two different numeric box and can give the command on offerKeyevent() and display that on the third one as result.

    Now it depends on you that how you implement.

    Amrish

  4. #4
    Regular Contributor
    Join Date
    Jun 2008
    Posts
    108

    Re: Simple calculator

    Hi Amrish,
    Thanks for your reply.
    I would like to design a calculator having basic functions like ADD,SUB,MUL,DIV.
    I am trying it with "FORMs".I just need only one editor box to do the calculations.
    cheers
    Remesh

  5. #5
    Registered User
    Join Date
    May 2008
    Posts
    29

    Re: Simple calculator

    hi Remesh
    For developing a single editor box calculator you have to do following things:

    1) Make one editor for that u can take help from SDK ex series60 editor.

    2} as u r working on only on editor then u have to deal with third variable for ex- For doing sum operstion i.e a+b=c
    u have to store all in one variable in sequence operand operator operand and then assign to(=) in c.

    3) display this c again in the same editor or print some what below as result.

Similar Threads

  1. Does SIP Plugin for Series 60 SDK support SIMPLE ?
    By razas in forum Symbian Networking & Messaging (Closed)
    Replies: 10
    Last Post: 2008-06-30, 02:02
  2. developing gui based calculator
    By amrish20 in forum Symbian User Interface
    Replies: 6
    Last Post: 2008-06-24, 11:00
  3. memory in calculator
    By amrish20 in forum Symbian User Interface
    Replies: 1
    Last Post: 2008-06-19, 13:20
  4. 6131 wheres the calculator???
    By srivatsanhari in forum General Development Questions
    Replies: 1
    Last Post: 2007-06-28, 18:31
  5. What's going wrong with installation simple midlet (6310i)
    By zgibniew in forum Mobile Java General
    Replies: 3
    Last Post: 2003-09-24, 10:50

Posting Permissions

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