My code:
public class GameView extends SurfaceView implements
SurfaceHolder.Callback {
...
Dialog dialog = new Dialog(app);
class GameThread extends Thread {
public void run() {
Looper.prepare();
while (bRun) {
switch(flag){
case 0:
break;
case 1:
dialog.show();
flag=0;
break;
}
}
}
}
...
}
The dialog.show() was called, but noting happened.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---