title: Screen Resolution (4DCAPE-43+Beaglebone Black+Android)
body: <p>There is a black bar that appears on right hand side of the screen. Below is picture of the issues. </p>
  
  <p>The display is from 4D Systems</p>
  
  <p><img src="https://i.stack.imgur.com/KgHzP.jpg" alt="enter image description here"></p>
  
  <p>Based on <a href="http://processors.wiki.ti.com/index.php/TI-Android-JB-4.2.2-DevKit-4.1.1_UserGuide#UI_Navigation" rel="nofollow noreferrer">TI-Android-JB-4.2.2-DevKit-4.1.1 UserGuide</a> the black bar represents a navigation bar. Following is image of the expected image. </p>
  
  <p><img src="https://i.stack.imgur.com/cJkwt.png" alt="enter image description here"></p>
  
  <p>The TI-Android-JB-4.2.2-DevKit-4.1.1 PortingGuide has the following suggestion from section 3.5.2 <a href="http://processors.wiki.ti.com/index.php/TI-Android-JB-4.2.2-DevKit-4.1.1_PortingGuide#Navigation_Keys" rel="nofollow noreferrer">Navigation Keys</a></p>
  
  <p>To activate the Software Navigation Bar, add the following line in overlay/frameworks/base/core/res/res/values/config.xml. This is done by default for AM335x EVM</p>
  
  <pre><code>&lt;bool name="config_showNavigationBar"&gt;true&lt;/bool&gt;
  </code></pre>
  
  <p>The kernel has been complied with both Boolean values true and false, with the hope that the navigation bar with will be visible as intended or the navigation bar including the black bar is not visible. Either is fine, but not half way.</p>
  
  <p>The following links were referenced in an attempt to resolve this issue.</p>
  
  <ul>
  <li><a href="http://nelenkov.blogspot.be/2013/07/building-wireless-android-device.html" rel="nofollow noreferrer">Building a wireless Android device using BeagleBone Black</a></li>
  <li><a href="https://stackoverflow.com/questions/24286986/how-do-i-remove-the-navigation-bar-from-my-android-build">How do I remove the navigation bar from my Android build?</a></li>
  </ul>
  
  <p><strong>Solution</strong></p>
  
  <p>Add the following line as suggested in init.am335xevm.rc file.</p>
  
  <pre><code>setprop lcd.landscape true
  </code></pre>
  
  <p>The image with navigation keys after applying</p>
  
  <p><img src="https://i.stack.imgur.com/Xl8OP.jpg" alt="enter image description here"></p>