Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-11-04 Thread Jérémy MARQUER
Hi, I think my problem was to create all my form in advance, not in the EDT plus to do expensive task on this... On Wednesday, October 26, 2016 at 3:44:14 AM UTC+2, Shai Almog wrote: > > Do you have more than one call to invokeAndBlock in a row? > The method has an overhead and a nesting limit

Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-10-25 Thread Shai Almog
Do you have more than one call to invokeAndBlock in a row? The method has an overhead and a nesting limit which means you shouldn't overuse it. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop r

Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-10-25 Thread Jérémy MARQUER
I know that but I think it's unrelated because the symptoms appear after the task is done. Whatever, I will try to invoke sleep into "invokeAndBlock"... On Tuesday, October 25, 2016 at 4:43:25 AM UTC+2, Shai Almog wrote: > > @gareth that's unrelated. I suggest listing the code at the root of the

Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-10-24 Thread Shai Almog
@gareth that's unrelated. I suggest listing the code at the root of the stack trace. When you run a separate thread you are effectively occupying the CPU even in a multi-core machine. If a thread does a heavy task it will slow down the entire system so you need to sprinkle it with calls to slee

Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-10-24 Thread Gareth Murfin
Im experiencing something similar on the simulator, not even on a real device, An exception occurred during transition paint this might be valid in case of a resize in the middle of a transition java.lang.StackOverflowError at com.codename1.ui.geom.GeneralPath$Ellipse._addToPath(GeneralPath.ja

Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-10-24 Thread Jérémy MARQUER
Hi, What do you mean by sleeping off the EDT ? On Saturday, October 22, 2016 at 4:48:11 AM UTC+2, Shai Almog wrote: > > If you have intensive work you need to sleep off the EDT between work > batches. Even multi-core CPU's are pretty damn weak on mobile. > -- You received this message because y

Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-10-21 Thread Shai Almog
If you have intensive work you need to sleep off the EDT between work batches. Even multi-core CPU's are pretty damn weak on mobile. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving em

Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-10-21 Thread Jérémy MARQUER
Yes, it's running on EDT, but as I mentionned previously, I've tried to run it out of the edt by calling "invokeAndBlock" but it does not resolve the problem ... On Friday, October 21, 2016 at 2:46:17 AM UTC+2, Shai Almog wrote: > > Hi, > I'm guessing some of that logic is running on the EDT? >

Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-10-20 Thread Shai Almog
Hi, I'm guessing some of that logic is running on the EDT? -- 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-discussions+unsubscr...@googleg

Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-10-20 Thread Jérémy MARQUER
Hi all, I've exactly the same symtoms on sony xperia Z4 and android 6.0.1. It seems that symptoms only appear after an hard task (like executing many queries in database) ... If I reload app, symptoms disappear and appear again when doing the task. I will try to do task out edt ... -- You re

Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-08-26 Thread Shai Almog
While that could be a performance problem the UI should still appear eventually. I don't see the stack you screenshotted earlier which is why I asked for the logs here... -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscrib

Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-08-26 Thread Jojiez
>From the Log(Attached) I can see the 'Choreographer : Skipped 36 Frames! The Application maybe doing too much work in its main tread' that happens whenever i touch on the freezed screen. On Friday, August 26, 2016 at 7:44:49 AM UTC+3, Shai Almog wrote: > > That's a screenshot, not the text log

Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-08-25 Thread Shai Almog
That's a screenshot, not the text log and it shows something out of context that would narrow down why this is happening. -- 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 i

Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-08-25 Thread Jojiez
Attached is my DDMS Log. How can you help? On Wednesday, August 24, 2016 at 7:13:16 AM UTC+3, Shai Almog wrote: > > If you can isolate a standalone test case and file an issue then we can > look at it. I'm assuming that isolating a test case would be harder. > -- You received this message becaus

Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-08-23 Thread Shai Almog
If you can isolate a standalone test case and file an issue then we can look at it. I'm assuming that isolating a test case would be harder. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop rece

Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-08-23 Thread Jojiez
Having trouble setting up my device on the DDMS. Is there any other way? On Saturday, August 20, 2016 at 7:41:34 AM UTC+3, Shai Almog wrote: > > Just launch Android Studio and create a dummy project then open DDMS > there. It used to be simpler with a standalone DDMS tool but Google broke > that

Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-08-19 Thread Shai Almog
Just launch Android Studio and create a dummy project then open DDMS there. It used to be simpler with a standalone DDMS tool but Google broke that. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and s

Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-08-19 Thread Jojiez
Trying to set up it up on Netbeans but not yet successful. On Friday, August 19, 2016 at 9:03:45 AM UTC+3, Shai Almog wrote: > > Font classes shouldn't be a problem, do you see any output in the DDMS > console? > -- You received this message because you are subscribed to the Google Groups "Cod

Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-08-18 Thread Shai Almog
Font classes shouldn't be a problem, do you see any output in the DDMS console? -- 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-discussio

Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-08-18 Thread Dave Dyer
This sounds like the EDT thread is stalled waiting for a synchronization monitor. You have some hope if you can produce this behavior in the simulator, where you can see what threads are doing. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discuss

Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-08-18 Thread Jojiez
I have to setup Android studio. But basically the issue is not on one particular screen its entirely on the app. But on that form are Containers and labels and some labels are loading icons from a font class. On Thursday, August 18, 2016 at 9:19:10 AM UTC+3, Shai Almog wrote: > > I suggest conn

Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-08-17 Thread Shai Almog
I suggest connecting the device with a cable and looking at the DDMS output to see if there is any exception or suspicious printout when you reproduce this issue. We'll also need to understand what's in that page. -- You received this message because you are subscribed to the Google Groups "C

Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-08-17 Thread Jojiez
Not at all. On Wednesday, August 17, 2016 at 6:13:07 PM UTC+3, Steve Hannah wrote: > > Are you using any GeneralPaths or drawShape()? > > On Wed, Aug 17, 2016 at 4:28 AM, Jojiez > > wrote: > >> Hi, >> >> There this Android App I've developed that is having freezing issues when >> installed on A

Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-08-17 Thread Steve Hannah
Are you using any GeneralPaths or drawShape()? On Wed, Aug 17, 2016 at 4:28 AM, Jojiez wrote: > Hi, > > There this Android App I've developed that is having freezing issues when > installed on Android 5.0 Lollipop. The freezing takes places during form > transition(see attached) , components tou

[codenameone-discussions] SCREEN/APP FREEZING

2016-08-17 Thread Jojiez
Hi, There this Android App I've developed that is having freezing issues when installed on Android 5.0 Lollipop. The freezing takes places during form transition(see attached) , components touch response.. But it works very fine on Android 6.0 Marshmallow. What could be the problem? If you a