Android error Unable to add window in onResume(), after binding failed in onCreate() -
i know there many questions , solutions error message.
but problem little different.
in activity oncreate() method doing bindservice().
binding didn't happen got log
"binding unknown activity: token"
my onresume method below
@override protected void onresume() { log.d(log_tag,"onresume() in"); // status bar this.getwindow().addflags(windowmanager.layoutparams.flag_fullscreen | windowmanager.layoutparams.flag_layout_no_limits ); super.onresume(); } after line log.d(log_tag,"onresume() in"); in onresume() getting below error,
"attempted add application window unknown token token. aborting."
androidruntime: android.view.windowmanager$badtokenexception: unable add window -- token android.os.binderproxy@is not valid; activity running?
i searched on internet issue comes when use wrong context. dont think problem in case.
also issue reproduced once till now.
Comments
Post a Comment