hey, I have a very weird behaviour, which I cant find its cause. the last thing I do on onCreate() is to call a certain method. in that method i use **progressDialog = ProgressDialog.show(this, null, "Registering with Moish'd! server", true, false);**. on the first run i get BadTokenException: Unable to add window on the _progressDialog_ line. the second run it passes it. I read in forums that if the activity is in the middle of "finish" process than it might cause such an excetion. after a long debugging tests, i tried asking for isFinishing(). something odd accoured - before calling the method, **isFinishing() returns false**.in the first line of the method I ask again and now **isFinishing() returns true**. how can it be ?!? in the last line before entering a method its not "finishing" and in the first line of the method its suddenly "finishing", when NOTHING is happening in between (certainly not calling finish()). anyone ?!?
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en