Hi, I need to send a json text that contains a base64 encoded image. Problem is when I attempt to do this the app crashes or just freezes forever. I've set the writetimeout to 1 minute and it just crashes after that 1 minute or loses connection to the server. I'm attempting this on android. Is there a better way I can send and receive data from the server that contains a bitmap? My code is as follows:
![1.png](https://www.esegece.com/index.php?option=com_easydiscuss&controller=attachment&task=download&tmpl=component&id=65)
![convert.png](https://www.esegece.com/index.php?option=com_easydiscuss&controller=attachment&task=download&tmpl=component&id=66)