02-03-2011 07:01 AM
hi geeks,
I got a weird problem with my app running on different OS6 devices. The app runs as it should on the Torch, but has the following problem on the Bold and on the Style devices.
When I do UiApplication.pushScreen(myScreen), the screen does NOT show up on the device until I move the trackball a little bit. The exact same code works as normal on the Torch device.
How can I fix this or how can I gain more information on what to do? Logs and Debug do not show anything unusual, so it seems like a refresh event or what ever is not properly handled on the two new devices.
Thanks!
02-03-2011 09:12 AM
That is odd. Are you sure the screen is getting pushed at the point you think it is? Maybe try invalidate()ing the screen when you push it..
02-03-2011 09:16 AM
Yes I think so since the push is the last line and when debugging I see that after push no more code is executed, but screen is still not on the phone (I debug on the phone directly), but after touching the trackball it's there immediately.
Invalidate does not change anything at all, unfortunately... this is really strange!
02-03-2011 10:20 AM
Is it your custom screen? Does it have any custom elements with overridden layout/sublayout?
02-03-2011 10:37 AM
it is a custom screen with a tree table in it, some customized pictures and stuff. but since this works on torch why shoudlnt they work on others?
I did never overwrite layout or sublayout methods, also I did not overwrite paint or something like this.