Activity isn't there yet or is already finishing (gone), and we still want to show a dialog.
Good explanations on: http://stackoverflow.com/questions/18662239/android-view-windowmanagerbadtokenexception-unable-to-add-window-on-buider-s http://blackriver.to/2012/08/android-annoying-exception-unable-to-add-window-is-your-activity-running/ http://www.ggkf.com/android/problems-creating-a-popup-window-in-android-activity http://stackoverflow.com/questions/7415014/android-badtokenexception-unable-to-add-window-is-your-activity-running-at
Added if(isFinished()) everywhere I could find. Not necessarily completely fixed yet.
Activity isn't there yet or is already finishing (gone), and we still want to show a dialog.
Good explanations on: stackoverflow. com/questions/ 18662239/ android- view-windowmana gerbadtokenexce ption-unable- to-add- window- on-buider- s blackriver. to/2012/ 08/android- annoying- exception- unable- to-add- window- is-your- activity- running/ www.ggkf. com/android/ problems- creating- a-popup- window- in-android- activity stackoverflow. com/questions/ 7415014/ android- badtokenexcepti on-unable- to-add- window- is-your- activity- running- at
http://
http://
http://
http://
Added if(isFinished()) everywhere I could find. Not necessarily completely fixed yet.