Skip to main content

Posts

Featured

Understanding App Inventor Code Conventions

Coding Conventions in App Inventor

Coding conventions are an important part of programming, they ensure that code is consistent from developer to developer, they are essentially the rules of programming and although they are not always enforced by compilers, if you publish an extension that doesn't follow the coding conventions you'll likely receive a comment here or there telling you to update your extension so that it is inline with established standards and best practices.

The following are some of the common coding conventions used across the App Inventor platform, note that some of these conventions are different from javas coding conventions.


Lists start at index 1, if you are making an extension that uses arrays be sure to subtract the provided index by 1, e.g. index 1 will become 0 (start of array)Methods always use UpperCamelCaseClasses always use UpperCamelCaseParameters always use lowerCamelCaseWhen setting the version of your extension your version must be a whole …

Latest posts

How to hide the status bar in your Thunkable apps

Generate JSON easily with simple HTML forms

Open Source App Inventor Extensions

Run JavaScript inside a Web Viewer with App Inventor

Easily create an app icon for your mobile app

Create your own extensions in App Inventor

Understanding JSON and how it works

Java Code Snippets for App Inventor Extension Developers

JSONTools Extension

Thunkable Components