About Integration of a external C++ code in MIT App inventor

Hi....I am working on some AI Voice Recognition app in MIT App Inventor and I need to incorporate some of my C++ code in my app...how can do that?

this is unfortunately not possible

you could convert the C++ code into JavaScript and use the Webviewer component and its WebViewString block, see this example

or you could convert it into Java and write your own Extension

more information about how to create an extension see the App Inventor Extensions document
however that will be more advanced and will require some Java skills...

Taifun


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

A good way to do this is with Emscripten.

2 Likes