Well, I'm a beginner in this whole world, and I'm trying to implement a function in my application. I found a project available for download and I changed the whole code to my favor, but at the end of it came across something, which seems simple, but immobilized me to D +. After cropping the image, a link is generated in data-result. I need to get this result and send it to my application via SetWebString, but it did not work so I created something basic to show me an event with this result, but I can not do it at all. I spent all night searching the net and found nothing. said that all the necessary information is at the end of the code. I do not remember where I got this code, so I will not credit the author here, but anyone who wants to copy and modify it at will. This code had a lot more functions, but I removed it to meet only what I want. To use in App Inventor, I preferred to put 90% of the code in a single file. TML, JavaScript and CSS and Stack said that the code is great to put here, so I'll put his link to Dropbox. Thank you in advance.