Usando a classe Base64, do proprio android, se eu usar o método para encodar os bytes da minha imagem direto pra string, dá o seguinte erro no meu DataOuputStream:
-- java.io.UTFDataFormatException: String more than 65535 UTF bytes long
E se eu mandar direto os bytes, o json envia só o endereço de memória.
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.






0 comentários:
Postar um comentário