You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an android.graphics.Bitmap object that I want to send from the remote app environment out to the local Python environment. My idea to do this is compress the Bitmap into a PNG, grab its byte array and send that to Python. Here is my attempt:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have an
android.graphics.Bitmapobject that I want to send from the remote app environment out to the local Python environment. My idea to do this is compress the Bitmap into a PNG, grab its byte array and send that to Python. Here is my attempt:This obviously doesn't work because
byteArraycan't be given directly tosend():Error: expected a pointerBut I can't figure out the correct way to get from the byte array to the type of data that
send()accepts.Beta Was this translation helpful? Give feedback.
All reactions