I need a function to turn a text into a string of hex utf8 bytes. I solved the conversions with javascript. The function must wait for return data from the script. For this I used a while loop block. I think the blocks are correct, so why doesn't the loop end? It seems the "webviewstring" block is not work in looping? I will add that the script itself and returning values to appinventor without a loop work fine.
test_java.aia (3.4 KB)