[codenameone-discussions] FileSystemStorage.getInstance().getCachesDir() permissions

2016-12-13 Thread Bryan Buchanan
Have this function as per the blog: private static String getCachePath() { String root; if (FileSystemStorage.getInstance().hasCachesDir()) { root = FileSystemStorage.getInstance().getCachesDir() + "blah/"; } else { root =

[codenameone-discussions] Re: what is the best way to resize a compoment acording his parent?

2016-12-13 Thread Shai Almog
Check out the table layout class, you need to use the width/height constraint. I don't see the problem with overlapping an image? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving

[codenameone-discussions] Re: java.util.ConcurrentModificationException

2016-12-13 Thread Shai Almog
Hi, see this: http://stackoverflow.com/questions/40913092/concurrentmodificationexception-in-codename-one-app/40924988 It generally means there was a threading issue with the peer. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To

[codenameone-discussions] Re: what is the best way to resize a compoment acording his parent?

2016-12-13 Thread romancanoniero
yes, but what happens when im using an overlaped image who have to be the 33% of the backgroud image?? On Monday, December 12, 2016 at 2:10:03 AM UTC-3, Shai Almog wrote: > > Hi, > that's not the right place. > Paint is invoked after a component is laid out, it and it's neighbors > assume the

[codenameone-discussions] Re: what is the best way to resize a compoment acording his parent?

2016-12-13 Thread romancanoniero
have you any example? thanks On Monday, December 12, 2016 at 2:10:03 AM UTC-3, Shai Almog wrote: > > Hi, > that's not the right place. > Paint is invoked after a component is laid out, it and it's neighbors > assume the size is fixed for the cycle and rely on that. > > The right place to do

[codenameone-discussions] how to set ConnectionRequest priority on Util.downloadUrlToStorage

2016-12-13 Thread CODENAME1
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Desktop OS Simulator Device -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop

[codenameone-discussions] java.util.ConcurrentModificationException

2016-12-13 Thread Gareth Murfin
Hi I got a bug report about this.. at this point I am passing a peer component back, any reason why this may happen ? [EDT] 0:0:7,845 - java.util.ConcurrentModificationException [EDT] 0:0:7,847 - java.util.ConcurrentModificationException at