I am trying to run Tutorial 10 from the Android tutorials book. This is the tutorial that switches the view from portrait to landscape using <ctrl> < f12> in the emulator. Everything is fine as long as I am in portrait view, as soon as I switch to landscape view, the following happens: The orientation changes to landscape, the list is in portrait, switches quickly to landscape, and I get the following error message:
"The application LunchList (process.com.example,lunchlist) has stopped unexpectedly. Please try again." The only option is to close the application. The tutorial says to setup another main.xml under res/layout-land, and to modify it for landscape viewing. I did this, but now have 2 main.xml, one under res/layout and the modified one under res/layout/land. Could this be causing the problem? Does Android get confused when <ctrl> <f12> is selected? It seems to do the switch OK, but then hangs up. I have looked at the LogCat, but don't see anything that sheds any light on the problem. I have compared my code to the sample code downloaded from the website. Everything seems to match. Can anyone help? -- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

