Actually, I am trying to modify this tubs.aia (11.6 KB)
app. (I got this app from @TIMAI2 )
My plan is to get user inputs like product name, price, image etc. In this app the only missing part is image input. So, I am trying for that. The app has to share the user inputs via email or whatsapp.
I changed it into empty text box instead of list. It is working fine in tubs.aia app blocks. But, it is giving the image location instead of image. So, I am planning to convert images into base64 data, so later when it is shared, from the side of recipient the base64 data will be converted back into image. But, i am facing difficulty when I am trying to use base64 extension.
Because, when I try, the camera pictures that are captured through app is working well by generating base64 but other images from phone are not converted into base64. I don't know what is the reason.
The error shows your problem. Somewhere you are trying to select an item from a list that does not have an index of 5. Debug your blocks to find it. You do not say when it happens. Start there.
WORKING: As expected, the image input is getting converted to base64 successfully.
WORKING; As expected, the global variable 'Base64' is successfully storing the base64 data.
NOT WORKING: When I installed and open the app and click 'Show Tools', I am facing error as 'Argument not accepted and base64 data is also shown in that error message'.
But, when I close the app and open the app again and click the 'Show tools' button (without giving new input) the app is showing following result. This is not the result I expected. This is failure. Help me.
My intention is to display base64 string data in the place of image1.
Now I am facing two things together. App is getting stuck/hanged when I click 'Add Tool' button and I am getting successful result also only when I closed and opened the app and click 'Show Tools' button. Now, I can successfully share the data as well via whatsapp.
Next, I have to add another feature to this app, that is 1) Select Base64 data from phone (or recieve base64 data from another sender) and 2) Convert it back to image.
But, before that I have to solve this hanging/stucking issue of the app.
Sorry, when I waited for sometime when the app is hanged, I got this error message. how can i solve this. But, despite of this error message, app is working fine as well.