Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9191057
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:35:42+00:00 2026-06-17T20:35:42+00:00

This is a question I’ve asked myself since I began programming again and again.

  • 0

This is a question I’ve asked myself since I began programming again and again.

My goal:

  1. draw a function graph based on a string like “sin(x-1)*2.5” FAST.
  2. fast means fast enough to be fun
  3. it must run on Android

What I tried:

  1. using my own very simple parser (slow and primitive)
  2. using the JavaScript parser (slow but flexible)
  3. using the Janino runtime compiler (fast and flexible, perfect, but only for normal Java)

I’ve googled extensively (queries like “android function graph how to”), but not found a solution,
although there are numerous applications managing to do this.

I will not accept “write your own parser/compiler” 🙂

SO: How do I do this?

Thank you very much in advance,

Till Höppner

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T20:35:43+00:00Added an answer on June 17, 2026 at 8:35 pm

    Thanks to the help of harism and John Boker,
    I achieved my goal quite easily.


    My conclusions:

    • DO NOT put .CLASS libraries in your Android project, because these have .DEX files

    • Use either the dx tool, on those libraries, or use the source code of them

    • expr runs fastest in my app


    Thank you, harism and John Boker

    EDIT: This is nonsense, I don’t know why I thought this…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This question is kind of a follow up to this question I asked a
This question is about good programming practices and avoiding potential holes. I read Joshua
This question may seem blindingly obvious and I realise I am putting myself up
This question is related to the one I asked here . I'm trying to
This question has probably been asked before, but I was wondering if there was
This question is similar, but is about calling the function from inside the class:
This question has been asked, in various flavors, several times. Unfortunately, none of the
This question is based on the answer . I run at home find --
This question is similar to another one I asked , but whereas in that
This question is related to one I asked the other day which I got

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.