[codenameone-discussions] How to Create Equivilent of java.io.File.createTempFile

2019-01-01 Thread shop . service . assistant
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA NetBeans 8.2 Desktop OS Windows 10 Pro Simulator Latest Device PC, Android, IOS Please advise the equivalent of "java.io.File.createTempFile" As I want to get a unique Temp File

[codenameone-discussions] Re: How to Create Equivilent of java.io.File.createTempFile

2019-01-01 Thread Shai Almog
After writing this I just noticed that in fact we have File.createTempFile() but notice it doesn't use the caches dir and doesn't delete the temp file after usage as we don't have a "deleteOnExit" API. -- You received this message because you are subscribed to the Google Groups "CodenameOne

[codenameone-discussions] Re: How to Create Equivilent of java.io.File.createTempFile

2019-01-01 Thread Shai Almog
We don't have that at this time. There are some devices that have a "caches" directory where you can store temporary files (e.g. iOS). You can check for that using hasCachesDir() and getCachesDir() then write the file there. E.g.: FileSystemStorage fs =

[codenameone-discussions] Re: Turn off auto layout mode in new gui builder?

2019-01-01 Thread Gareth Murfin
thanks shai, I was having issues though I couldnt drag a layout from north to south for example as I couldnt select the specific layout. On Sunday, December 23, 2018 at 11:56:19 AM UTC+8, Shai Almog wrote: > > You can edit the .gui file and change auto-layout to false. I would > suggest working

[codenameone-discussions] Local links in html

2019-01-01 Thread Gareth Murfin
So I have decompressed a zip to storage and I am able to view the html pages that I have extracted. However when I click on a link inside these html pages then it doesnt work. The link is a relative one like this: "./../../key-concepts-kanji/empty-component.html", implying you need to go back