but i got the error saying "Attempt to invoke virtual method "boolean android.graphics.Bitmap.compress(android.graphics.Bitmap$CompressFormat, int,java.io.OutputStream)' on a null object reference". This is my code
My tests show that the base64 string is not being generated (the clip is being successfully copied to the ASD), even if I include a clock timer, and the app eventually crashed. Will need to revisit this later and try a different method.
These are my testing blocks (I am not trying to upload yet....)
There is no issue with the contenturi conversion, and I have never had a problem converting to base64 string with Juan's extension. Just need to work through the flow.