Hi guys,
A weird thing is happening with my current project and i can hardly find the solution as the IDE is not shooting any kind of errors.
I am receiving a json object such as this one:
My problem is when i receive this object and put it in a STRING. All hell breaks loose as soon as i try to hover on it to see if its complete. AND i cant send it to a CallSub either, IDE stops with no errors.
The image is in base64, in other words its about 2M in size... i reckon that thats the problem.
So far i have tried to just take a few of these characters and the IDE doesn't shut down, but my image is corrupted of course as its not complete...
EDIT:
Converting to Bytes and sending it to the callsub works, but i have to convert it back to string, and the same problem reappears...
Any clues? Ideas? In the end my image is downloaded successfully but i cannot verify the data while in debug mode at all...
A weird thing is happening with my current project and i can hardly find the solution as the IDE is not shooting any kind of errors.
I am receiving a json object such as this one:
B4X:
{"20150710104756.jpg":
{"filename":"20150710104756.jpg","image":"iVBORw0K............................."
{"status":"OK"}}
My problem is when i receive this object and put it in a STRING. All hell breaks loose as soon as i try to hover on it to see if its complete. AND i cant send it to a CallSub either, IDE stops with no errors.
The image is in base64, in other words its about 2M in size... i reckon that thats the problem.
So far i have tried to just take a few of these characters and the IDE doesn't shut down, but my image is corrupted of course as its not complete...
EDIT:
Converting to Bytes and sending it to the callsub works, but i have to convert it back to string, and the same problem reappears...
Any clues? Ideas? In the end my image is downloaded successfully but i cannot verify the data while in debug mode at all...