Is there a extension template?

Hey, can someone post the java code template they use they build extensions? I have been having a lot of trouble finding a working java template which has nothing except the basic imports and stuff. Thanks.

You can use https://editor.appybuilder.com/login.php
Here you find a section where extensions samples are shared.

1 Like

I don't know where it is. Can you just post the code?

There are several types of extensions. If you access to the code editor you will find a tinydb extension as default.

1 Like

Thanks for the help!

You may want to look at the extension template repository that serves as a starting point for building extensions here:

And you will want to look at section 3 of the App Inventor Extensions document, which includes the code for an example extension:

We also open source all of our extensions in this repo, with each extension on its own branch:

2 Likes