I am a user of MIT Application Inventor 2, I have a basic background in Java, but I do not know how to change and compile Android Studio extensions.
In the current projet I'm doing I am using the wonderful following extension created by Jean-Rodolphe Letertre:
https://groups.google.com/forum/#!category-topic/mitappinventortest/app-inventor-extensions/OCzEZC4FpEUWhich works pretty well, however there is a small drawback that could be removed from the code (eg, commented out, replace by 'return', etc ...), more specifically there are lots of lines as these ones at the error handler event:
throw new YailRuntimeError (...
This is because whenever happens a disconnection from this client TCP socket with the server, a pop-up window appears, interrupting the execution of the program, requiring the user interaction, and to make it worse, the only button option to interact is to exit the program. These lines are not a functional in the sense of the overall workflow, but rather informative, therefore could be removed with no risk. The most important status needed is already available at a variable on this extension (connected, not-connected).
Could someone here do that kindness, and make the modified extension available to the community?
Thanks in advance.