LeonardooBorges
LeonardooBorges
Hello! I was trying to do the same thing, my solution was to convert the image file to gif and then send it. Whatsapp does support sending gif. Hope this...
``` Java private File convertToGif(File imageFile) throws IOException { ByteArrayOutputStream bos = new ByteArrayOutputStream(); AnimatedGifEncoder encoder = new AnimatedGifEncoder(); encoder.start(bos); encoder.addFrame(BitmapFactory.decodeFile(imageFile.getAbsolutePath())); encoder.finish(); byte[] array = bos.toByteArray(); // Save to file...
I think the problem is that messenger does not support all rich content. You can check if it supports sending gif, if it does support, you can convert image to...
Hello @pwittchen it is me that should be thanking you for what you did and share, many projects in the company I work uses your lib and we are thankful....
Thanks for your time, if you could share your solution later I will appreciate to see. 😄
I forget to do that in my PR, I could do that after @1gravity review and before the merge.