title: Portrait Orientation for android apps when running on Android Sticks/ Amazon Stick
body: <p>I am working on an application which I want to run both on android tablets and android-sticks.</p>
  
  <p>I want the application to run in the portrait mode. I can easily achieve this in a tablet but when I run the same application on an android-stick it doesn't work. The android-stick display (I connected the stick to a normal tv through HDMI) always appears in the landscape mode. It seems like the android stick simply ignores the orientation change code I have written (inside onCreate()) :-</p>
  
  <pre><code>setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); 
  </code></pre>
  
  <p>What I want is that the app's orientation should change from Landscape to Portrait when running on an android-stick (or amazon-stick).</p>
  
  <p>Can you please help me here ?</p>