Hi group,
I intended to show a dialog in a service process, then I tried to use
the AlertDialog but got the below error message:
WindowManager$BadTokenException: Unable to add window -- token
null is not for an application
The reason seems to be that the dialog is not used in a application
context (activity should be fine?)
Was there any way that can solve this problem? any advises will be
approciated!!!
Many thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---