A adolleschal Member Licensed User Longtime User Apr 6, 2011 #1 Hi! I retrieve an encoded image via a json call. How can I use this encoded Image as a Bitmap? When i use the following code I get a Java-Error: B4X: Buffer = Element.Get("image") InputStream1.InitializeFromBytesArray(Buffer, 0, Buffer.Length) InputStream1.Close ProductBitmap.Initialize2(InputStream1) Any hints? Thanks and best regards Andreas
Hi! I retrieve an encoded image via a json call. How can I use this encoded Image as a Bitmap? When i use the following code I get a Java-Error: B4X: Buffer = Element.Get("image") InputStream1.InitializeFromBytesArray(Buffer, 0, Buffer.Length) InputStream1.Close ProductBitmap.Initialize2(InputStream1) Any hints? Thanks and best regards Andreas
A adolleschal Member Licensed User Longtime User Apr 6, 2011 #2 Found the Solution myself by using StringUtils DecodeBase64 Best regards Andreas Upvote 0