Re: [codenameone-discussions] Cannot create folder in Adroid 8 Oreo

2018-12-07 Thread Ivan
ok, thank you Shai, thank you Andrea, I will refactor the filesystem stuff in my app -- 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 codenameone-disc

Re: [codenameone-discussions] Cannot create folder in Adroid 8 Oreo

2018-12-06 Thread Shai Almog
You can use the share low level API in Display/CN. This would work for other platforms too and circumvent app segregation. As you can see Andrea spent a lot of work on this trying to get it working in Android only but that's a dead end. There is no commonality here so there is no API we can expo

Re: [codenameone-discussions] Cannot create folder in Adroid 8 Oreo

2018-12-06 Thread Ivan
> > Hi Shai, this is very old app and using this (previously) public folder we've been sharing files with 3rd party apps (using URI scheme and Display.getInstance().execute()). Should I avoid this and use something else? Share button? Thanks Ivan -- You received this message because you are

Re: [codenameone-discussions] Cannot create folder in Adroid 8 Oreo

2018-12-05 Thread andrea antonello
Hi Ivan, I am also fighting with this problem a lot since oreo. Fact is that for android users it is natural to interact with the filesistem and not being able to makes certain types of applications weak on that platform. Currently I have been able to enable some degree of writing possibility by s

[codenameone-discussions] Cannot create folder in Adroid 8 Oreo

2018-12-05 Thread Ivan
Hi guys, my app stopped working after installation on Android 8 device. (A 5, A 6, simulator works ok) I've read about file system permission change in Oreo, I allowed my app to work with filesystem, double check in permission settings. But mkdir fails silently and required directory is not crea