Hi App inventor community. I have now been developing apps for a long time on AI2, and im starting to learn coding an app myself. Therefore i wondered if it is possible to retrieve the hard code from an AI2 app to further develop in sourcecode?
Develop in sourcecode? Do you mean using Java? Use Android Studio.
Once upon, there was a project to ‘convert’ AI2 aia’s into Java. That no longer works. The tool that helped do the conversion, Java Bridge, is over three years old. This experimental project is inactive. Because it uses ‘old’ code, it will fail (or partly fails) when you attempt to convert an App inventor Project to Java.
There is NO practical way to automatically convert an App Inventor 2 Project to another programming language.
You have to build your entire Project using App Inventor 2 Blocks.
The App Inventor source documentation is an image of all the Blocks . See the developer’s comments regarding the programming language used for App Inventor . AI Programming Language "This is hard for many users to understand, but the blocks code you seen on your screen is the source code of your language. It describes the syntax tree of your App Inventor program in the same way that traditional text programs describe the syntax trees of their languages. "
I want to register an app in my own country, as intellectual property, and one of the requirements they ask me is if I have the source code of the app. Since the app I developed in AI2 has several pages (I think 8), should I put together a document with each of the pages and take screenshots of all the blocks that I have used in each of the pages of my app? Do I have to do that work page by page? Or does AI2 have a function that allows me to make a summary of the entire App, what it is for and what functions it allows to perform? Thank you so much