I have images and I am storing it in database as a BLOB file type. Now I want to migrate Firebase online database. because of Firebase database can not support Blob type, I've stored BLOB file as a String type such as "137,80,78,71,13,10,26,10,0,0,0,13,73,72,68..." (just put in " ", normaly numbers are a BLOB file). Now how can convert it to BLOB file and a make it Bitmap again.
in short:
my String like this "137,80,78,71,13,10,26,10,0,0,0,13,73,72,68..."
String value = new String(byteArray);
byte[] byteArray = new byte[] {137,80,78,71,13,10,26,10,0,0,0,13,73,72,68...};
and I want to convert it byte array like above