Simple Calculator Extension [FREE]

Description:
Hello AppInventor Community,

I am excited to share a simple calculator extension that can be used without relying on external libraries. This extension allows you to evaluate mathematical expressions such as addition, subtraction, multiplication, and division without having to import additional libraries.

Key Features:

  • Execute simple mathematical operations using function blocks.
  • Trigger events when operations are successfully executed.
  • Trigger events when an error occurs during execution.

How to Use:

  1. Add the extension to your AppInventor project.
  2. Use the ExecuteOperation function block to evaluate mathematical expressions.
  3. Respond to operation results through the OnOperationResult and OnOperationError events.

Example Usage:
image

I hope this extension proves useful to the community. Feel free to provide feedback or suggestions for improvement. Thank you!

Download
com.rasitech.calculator.aix (6.8 KB)

7 Likes

Bonjour, je voudrais savoir si cette extension respecte les priorités opératoires.

Merci,
Nico

why not test by your self and tell us the result?

J'ai testé avec le compagnion, et donc cette extension ne respecte pas les priorités opératoires...

2+3*3=11

Sauf que elle affiche

2+3*3=15

Nico

image

image

1 Like

try this one

Taifun