Check your code for context and change getApplicationContext(); to this
I Guess your context assignment is
Context context = getApplicationContext(); // this give you the
bad token error.
change it to:
*Context context = this;* // this assignment will remove your bad
token ex
Hi,
I am trying to write a small game application in Android.
Following error is seen when I try to do showDialog().
When I launch the emulator and start the game the first time it works
fine. Then, the second time, it fails with the error. And 3rd, 5th,
7th time it works fine. Whereas it fails 4
Hi,
I am trying to write a small game application in Android.
Following error is seen when I try to do showDialog().
When I launch the emulator and start the game the first time it works
fine. Then, the second time, it fails with the error. And 3rd, 5th,
7th time it works fine. Whereas it fails 4
3 matches
Mail list logo