03-04-2013 02:36 AM
I made a simple application in blackberry. When i click on icon of application then its opening in simulator fine and but in mobile its giving "Foreground app lost focus because it has no screens." .
Can anyone suggest me for this.
Foreground app net.rim..device.apps.internal.applicationcontrol.T
rustApplicationManager@587e5 lost focus because it has no screens.
03-04-2013 04:02 AM - edited 03-04-2013 04:02 AM
and? does it have a screen?
03-04-2013 04:32 AM
I suggest you debug on device to see why your application is not displaying the screen.
My immediate reaction is that there is a difference in the path between your processing on the Simulator and on the device, possibly because of some difference in the Security which causes some sort of exception. Or it might be even simpler than that - have you actually built the application correctly for the level of POS on the device you are testing on.
If this doesn't help, please give us a lot more detail regarding the Simulator and OS level you have built for and are testing on, what what steps in your application actually execute correctly, where it fails and what exceptions you see.