title: Setting different orientations for Phone and Tablet on Android
body: <p>I would like to do the following in my app:</p>
  
  <ul>
  <li>Portrait mode only for the phone</li>
  <li>Portrait mode and landscape mode for tablets.</li>
  </ul>
  
  <p>I know i can easily change the orientation in the manifest file but that will affect the entire application. </p>
  
  <p>I have also thought of creating separate activities, to handle the different versions but i don't know how to detect the type of device using the application.</p>
  
  <p>Does anyone know how to tackle this?</p>