How to make an application fixes oriented in android?
<p>I want to make my android application fixed oriented, where no one can change the app's orientation by any kind of force. So far I used these in my manifest's activity tag:</p>

<pre><code>android:screenOrientation="portrait"
android:configChanges="orientation|keyboardHidden"
</code></pre>

<p>it's working fine in my emulator, but in real device when I press the orientation change button it's orientation is changing and getting a force close. What should I do next? </p>
