Если хочется запретить изменение ориентации экрана в приложении, то сделать это можно, добавив всего лишь пару атрбутов в тег
<activity>:
android:screenOrientation="portrait"
android:configChanges="orientation"
Т.е. файл AndroidManifest.xml может выглядеть так:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.package.name"
android:versionCode="1"
android:versionName="1.0">
<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".ActivityName"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:configChanges="orientation">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
<uses-sdk android:minSdkVersion="3" />
</manifest>
Остальные атрибуты тега
<activity> можно посмотреть по этой ссылке:
http://developer.android.com/guide/topics/manifest/activity-element.htmlЯрлыки: misc, screen orientation