Mailing the story:

Android Dialog Errors & Solutions: Bad Token Exception

  • Shantanu’s Technophilic Musings (Posted by on CST)
  • Story Type: Tutorial
If you are creating a custom Dialog for Android, and following the Android Developers’ Creating Dialogs tutorial, then most likely you would have faced a Force Close with an exception showing up in logcat. I did too. Although I figured it out quickly, it might not be easy to find out for many, so posting the solution for reference
What is your name?

What is your E-Mail address?

What is the email address of the recipient?

Add a special note from yourself?