A friend at work has gone on holiday and left me with an app that sends a Bitmap (as a byte array using Bitmap.CompressFormat) from an android device to a laptop running an application that has to be written in C sharp.
Is there any way I’m going to be able to end up with the picture sent, saved on the laptop? Or am I changing his app for him?
Sorry, quick edit.
Is there going to be any conflict in between the java and c sharp framework here? My worry is that a bitmap class in java differs from that off a c sharp bitmap class.
I think bitmap in byte is always a bitmap (but I could be wrong, if java serialize it’s bitmap class instead of the image this thing it’s not true).
However, if you have a byte array you can start by trying to use the c# constructor http://msdn.microsoft.com/it-it/library/z7ha67kw.aspx Bitmap(Stream), with a memory stream over the byte array
Hope this helps a bit