CodenameOne icon indicating copy to clipboard operation
CodenameOne copied to clipboard

`Media createMedia(String uri, boolean isVideo)` is broken

Open javieranton-zz opened this issue 2 years ago • 3 comments

Returns null

Workaround is to use Media createMedia(InputStream stream, String mimeType)

But probably worth fixing

javieranton-zz avatar Oct 20 '23 14:10 javieranton-zz

We will need a test case/device etc.

It's possible the server returns the wrong mimetype. Or you might be using a simulator with the FX support which never supported HTTPS etc. There are MANY edge cases.

shai-almog avatar Oct 21 '23 05:10 shai-almog

Hi I am new to this project but I have experience with Java , Can I give this a shot?

bayehyg avatar Jun 02 '24 02:06 bayehyg

@bayehyg I wouldn't recommend this one as it's unclear why it isn't working without a test case and without a very specific platform. This should probably be closed unless it's narrowed down.

shai-almog avatar Jun 02 '24 05:06 shai-almog