title: Convert Android App to Blackberry using ADT Plugin Eclipse
body: <p>I have successfully converted an android app using ADT plugin in eclipse and have couple of confussed situations. </p>
  
  <p>I went through this <a href="https://developer.blackberry.com/android/tools/" rel="nofollow noreferrer">Documentation</a> regarding the process but in this video still mention about the "Code signing keys" which is the Old process and now not valid any more... Instead we have to use Blackberry ID. This <a href="http://devblog.blackberry.com/2013/08/code-signing-keys-be-gone-welcome-blackberry-id/" rel="nofollow noreferrer">Tutorial</a> explains this in detail. </p>
  
  <p>I my android application in the manifest file I have included followings.</p>
  
  <pre><code>&lt;uses-sdk
      android:minSdkVersion="10"
      android:targetSdkVersion="17" /&gt;
  </code></pre>
  
  <p>I followed the following steps in the process</p>
  
  <ol>
  <li>Right click project -> Blackberry tools -> Add blackberry nature to project </li>
  <li>Right click project -> Blackberry tools -> Veryfy APK</li>
  <li>Right click project -> Blackberry tools -> Sign for blackberry world</li>
  </ol>
  
  <p>When I perfrom the above step2 level I am getting the following warnings Problems section in eclipse</p>
  
  <p><img src="https://i.stack.imgur.com/waJEn.png" alt="enter image description here"></p>
  
  <p>This <a href="http://garthpoitras.com/blog/porting-android-apps-to-blackberry" rel="nofollow noreferrer">Tutorial</a> explains that the the android application <code>targetSdkVersion</code> should be 10. But the problem is when I change the project build target to 10 as follows, I am getting lots of errors.</p>
  
  <ol>
  <li>Right click project -> Properties -> Project Build target</li>
  </ol>
  
  <p><strong>Questions</strong></p>
  
  <ol>
  <li><p>How to successfully configure the Build target(Android app) to 10 in my application. Which is 17 at the moment?</p></li>
  <li><p>The 3rd warning in the screen shot says to target to the latest which I can not do as it should be 10 according to our requirement to PORT android app to blackberry.</p></li>
  <li><p>No Idea of the 1st warning message in the Screen shot.</p></li>
  <li><p>Also before add it to Blackberry World do I have to change minimum OS version in the following place?
  (Right click project -> Properties -> Blackberry -> Minimum OS version)</p></li>
  <li><p>Finally how can I have the exact version number I want in Blackberry Bar manifest file. It automatically adds that value taking Android Manifest file "versionCode" in to consideration, but it is confusing. </p>
  
  <p>For example when <code>android:versionCode="1"</code> Bar manifest creates <code>Package-Version: 1.0.1.0</code></p></li>
  </ol>