J JeffreyC Member Licensed User Longtime User Jan 12, 2015 #1 I want the user to choose what the widget will do when they add it to the home screen. I tried using an InputList in Service_Create as well as a Click Event, but it "unfortunately stops" with this error in the log: android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application Any ideas?
I want the user to choose what the widget will do when they add it to the home screen. I tried using an InputList in Service_Create as well as a Click Event, but it "unfortunately stops" with this error in the log: android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application Any ideas?
Erel B4X founder Staff member Licensed User Longtime User Jan 12, 2015 #2 You cannot show any UI from a service. You need to start an activity and then show the dialog. Upvote 0