Hello, I am running in the same problem. Also with a tabview. Is there any other solution?
Cheers, Toby On Oct 26, 1:47 pm, Khetzal <[email protected]> wrote: > No, i've try with "this" for the context, with getApplicationContext() > too, with getParent() and with getContext(), > but always the same problem. > I've read somewhere that is because i try to make my spinner in an > Activity created by an other Activity which is in a tabview. > Finally, i use a simple button that call an AlertDialog with > checkboxes instead of the spinner. > Thanks for your reply ! > > On 25 oct, 17:45, TreKing <[email protected]> wrote: > > > On Mon, Oct 25, 2010 at 9:39 AM, Khetzal <[email protected]> wrote: > > > E/AndroidRuntime( 2680): android.view.WindowManager$BadTokenException: > > > Unable to add window -- token null is not for an application > > > This terribly-word error message usually arises when you use > > getApplicationContext() to show a dialog. Are you using > > getApplicationContext() anywhere? > > > ------------------------------------------------------------------------------------------------- > > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > > transit tracking app for Android-powered devices -- 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

