Finally got it working!!!
I had to make a workaround like this:
/// Loads a Bitmap from a byte array
public static Bitmap bytesToUIImage (byte[] bytes)
{
if (bytes == null)
return null;
Bitmap bitmap;
var documentsFolder = Environment.GetFolderPath (Environment.SpecialFolder.Personal);
//Create a folder for the images if not exists
System.IO.Directory.CreateDirectory(System.IO.Path.Combine (documentsFolder, "images"));
string imatge = System.IO.Path.Combine (documents, "images", "image.jpg");
System.IO.File.WriteAllBytes(imatge, bytes.Concat(new Byte[]{(byte)0xD9}).ToArray());
bitmap = BitmapFactory.DecodeFile(imatge);
return bitmap;
}
Note that the file created was missing the ending byte of a .jpeg file "D9" so I had to add it manually. I know for fact that my images had this byte included, and I also tried to generate the bitmap by adding "D9" to the byteArray with BitmapFactory.DecodeByteArray but it didn't work.
So, the only workaround that works for me is creating a file from the byteArray and decoding that file. Hope it could help someone in the future.