views:

354

answers:

1

Hi,

The application I'm currently working on consists of several dialogs and there is an issue with one dialog I still haven't found the cause.

Running the debugger the execution reaches the following two lines:

Intent intent = new Intent(this, DlgLogin.class);
startActivityForResult(intent, SHOW_SUBACTIVITY_LOGIN);

and then the onCreate() method in DlgLogin class executes as well

but the login dialog doesn't appear. If I leave the device idle for such long period of time that the screen turns off and then press any button on the device to turn it on the login dialog appears.

The dialog of course should appear immediately but so far haven't found the cause of the problem. I would be very thankful if anyone knows what could cause such behavior or any fix to solve the problem.

+1  A: 

I think you may be having the same problem I was having. Does anything show up on the screen?

fiXedd