Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sending an image from android client to google app engine

I'm writing a mobile android application which send an image (as Base64 encoded byte array) to a Google app engine server. On the server I want to supply the image I got from the client to a third party module which expects it to be a Bitmap. The problem is that I can't find a way to get create an image from the encoded byte array on GAE. Each thing I tried failed due to app engine restrictions: "x is not supported by Google App Engine's Java runtime environment".

Any suggestions?

like image 953
Daniel L. Avatar asked Jan 27 '26 19:01

Daniel L.


1 Answers

Why not use the Image API setImageData method, which takes a byte array of image data to create an Image object that can be used with the rest of the image APIs?

like image 150
Stuart Langley Avatar answered Jan 30 '26 09:01

Stuart Langley



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!