tags:

views:

60

answers:

1

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 ?

+2  A: 

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

Matty F