My project is working fine when i hold my HTC device vertical. But the moment i rotate my screen 90degrees , it throws a force close error.Starts all over again, runs fine untill i again change the orientation.
How do i handle it ?
My project is working fine when i hold my HTC device vertical. But the moment i rotate my screen 90degrees , it throws a force close error.Starts all over again, runs fine untill i again change the orientation.
How do i handle it ?
Hi mate,
This is considered a runtime change of configuration (screen orientation). Read this article to learn how to handle this - http://developer.android.com/guide/topics/resources/runtime-changes.html
Cheers