My First Extension


#1

Would anybody be willing to test my first extension?
It just does some math, I wanted to start out with something super simple.
It’s a modified version of SimpleMaths.java from Makeroid.

I’ve included both the .aix and an .aia
com.kennicholsandroid.Calc.aix (8.4 KB)
Calc.aia (11.1 KB)
Calc.java (1.7 KB)

Blocks
Calc

Usage Example
in%20Action


Code Editor Extension Samples
Creating New Extension
Firebase Linking
Code Editor Repository
#2

Its a start. Try to add value to it because those can already be done using math-blocks


#3

Thanks, I just wanted to make sure it compiled correctly and works correctly for others.
I have no plans to expand on this particular extension it was my “Hello World” with extensions.


#4

@Ken, please add your .java if you can. Your “hello world” can be helpful for others…


#5

Great idea!
I added it.


#6

Awesome… thanks @Ken


#7

generally you might want to follow the naming conventions, which is UpperCamelCase for property, method and event names (i.e. the first letter should be a capital letter) and lowerCamelCase for parameter names

example:
naming

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.


#8

Good to know, Thanks!
Where can I learn other stuff like this?


#9

in the App Inventor Extensions document
Taifun


#10

Thanks, I’ll take a deeper look at it.


#11

which language should now to make six ?


#12

Sorry, I don’t understand your question.


#13

Hi,
What code should we use after doing something and getting the result. For example the Firebase Extension where we get the value then we have to get value block with the value and the tag


#14

Is your question related to this topic about the extension?


#15

Yes😁 I want to know how he would add a After block which shows the result of the procedure we did the calculation


#16

Well maybe you can show what you have done already.


#17

I am not a extension Developer. I tried playing with the code but does not know about the basics.


#18

I thought you where talking about the aix. But you are working with the calc.java file?


#19

Yes, i am learning about making extensions so that i can make extensions and provide for free so no one has to pay !!

PS: Not gonna happen anytime soon :joy:


#20

For extension development you could also ask your questions in

https://groups.google.com/forum/#!forum/app-inventor-open-source-dev