Hi There,

my application crashes when I switch the Android Emulator to landscape
mode. But when I start the application, everything works fine, until I
switch to portrait mode again.

The error only occurs when I switch from one mode to another. When I
debug my app while switching to the other mode everything works fine
until my program counter jumps out of the onCreate() function.

this is an error message i picked out:
java.lang.RuntimeException: Unable to start activity ComponentInfo
{com.prog.drink/com.prog.drink.App}:
java.lang.IllegalArgumentException: Wrong state class -- expecting
View State

Any idea what I could have done wrong in my app?

Thanks a lot,
Johannes

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to