davepamn Active Member Licensed User Longtime User Aug 20, 2014 #1 Caused by: android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application
Caused by: android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application
KMatle Expert Licensed User Longtime User Aug 20, 2014 #2 Could you post the code? I think it's a problem adding a view... Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Aug 21, 2014 #3 This can happen if you try to show a msgbox in a service module. Upvote 0
davepamn Active Member Licensed User Longtime User Aug 21, 2014 #4 How do you show an error by UI in the service module Upvote 0
RandomCoder Well-Known Member Licensed User Longtime User Aug 21, 2014 #5 I use CallSubDelayed3 to call a sub in the activity and pass to it the message and title I want displayed. This seems to work well. Ragards, RandomCoder Upvote 0
I use CallSubDelayed3 to call a sub in the activity and pass to it the message and title I want displayed. This seems to work well. Ragards, RandomCoder
davepamn Active Member Licensed User Longtime User Sep 2, 2014 #6 I used callsubdelay2 and it worked Upvote 0