Creating Extensions
Last updated
Last updated
This guide assumes you to be a Windows user.
Install JDK
Be sure not to install it in a directory whose path contains spaces
Set the Environmental Variables:
Set JAVA_HOME
to where you installed Java JDK.
For example: C:\Program Files\Java\jdk1.8.0_131
Edit PATH
and add those:
%JAVA_HOME%/bin
, %JAVA_HOME%/jre/bin
, C:\ProgramData\Oracle\Java\javapath
Check Java installation: Execute java -version
Unzip the folder and move it to a place where it is safe. For example: C:\apache-ant-1.10.1
Be sure not to install it in a directory whose path contains spaces
Set the Environmental Variables:
Set ANT_HOME
to where you have the Ant folder placed. For example: C:\Ant\apache-ant-1.10.1
Edit Path
and add %ANT_HOME%\bin
Edit ClassPath
and add %ANT_HOME%\bin
Check Ant installation:
Check Git installation:
Unzip the folder and move it to a place where it is safe
Be sure not to place it in a directory whose path contains spaces
Save the above code to appinventor-sources/appinventor/components/src/com/makeroid/
as SimpleMaths.java
Go back to the appinventor
folder.
Open Command Prompt on that directory.
Type ant extensions
and click on enter.
If it says: BUILD SUCCESSFUL
, then you just created an extension. :-)
But if it says: BUILD FAILED
, then you did something wrong and have to look over again. :-(
Your extension file (.aix file) should appear in the directory:
appinventor-sources/appinventor/components/build/extensions
Now, you can easily share the aix files with anyone and can import it into Makeroid seemlessly.
Set it up as written in this
If you want more help, feel free to ask us on .