Discussion Board

Results 1 to 2 of 2
  1. #1
    How to display mathematical equations (eg. polynomial equations) using j2me(midlet application).Can any one help me out!!!!! and also the squareroot etc......


    Thanks
    Ganga

  2. #2
    Super Contributor grahamhughes's Avatar
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,394
    Font features on most mobile devices are limited, and in MIDP, there is no support for subscript and superscript.

    Font might contain special characters, such as:

    Code:
    \u00b2    superscript 2
    \u00b3    superscript 3
    So, it might be possible to draw a string like:

    Code:
    String poly = "ax\u00b2 + bx + c";
    as "ax² + bx + c".

    Beyond that, you would really need to start creating an equation-rendering engine, to draw to a Canvas.

    Cheers,
    Graham.

Similar Threads

  1. Subscript problem
    By morjens in forum Symbian User Interface
    Replies: 0
    Last Post: 2005-12-19, 10:24

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved