I don't see anything explicitly setting this in our code. My guess is that android treats ".PNG" differently than ".png", and you have previously chosen your PDF program to open files with .PNG. Check out the settings for your PDF application in settings to see if this is the case. Directions would be similar to this: http://www.guidingtech.com/13517/change-default-program-android-file-type-open/
Best regards Steve On Thu, Apr 13, 2017 at 6:22 AM, Ivan <[email protected]> wrote: > Hi guys, > > on Android: when I try to open image with uppercase extension: JPG, PNG in > associated application using Display.getInstance().execute(path) the > device allways tries to open it as PDF. > With lowercase extension works everything ok. > > Is this CN1 bug or Android problem? > > (I'm using workaround renaming the file to lowercase extension currently, > but it's not very comfortable) > > thanks > > Ivan > > If you are experiencing an issue please mention the full platform your > issue applies to: > IDE: Eclipse > Desktop OS: Ubuntu 16.04 > Simulator > Device: Xiaomi Redmi Note 4 > > -- > You received this message because you are subscribed to the Google Groups > "CodenameOne Discussions" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > Visit this group at https://groups.google.com/ > group/codenameone-discussions. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/codenameone-discussions/cf15222d-f4c3-4907-be9b- > 087012611ff2%40googlegroups.com > <https://groups.google.com/d/msgid/codenameone-discussions/cf15222d-f4c3-4907-be9b-087012611ff2%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Steve Hannah Software Developer Codename One http://www.codenameone.com -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKW6ebfC0O5hi_kE7A2pnFxAj0O4VoErhSUdRwKxcf9Y-g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
