Home | History | Annotate | Download | only in publishing
      1 page.title=
      2 @jd:body
      3 
      4 <div id="qv-wrapper">
      5 <div id="qv">
      6 
      7 <h2></h2>
      8 
      9 <ul>
     10 <li><em></em></a></li>
     11 <li> </li>
     12 <li> </li>
     13 <li></li>
     14 </ul>
     15 
     16 <h2></h2>
     17 
     18 <ol>
     19 <li><a href="#appversion"></a></li>
     20 <li><a href="#minsdkversion"> API </a>
     21 </ol>
     22 
     23 
     24 <h2></h2>
     25 
     26 <ol>
     27 <li><a href="{@docRoot}tools/publishing/preparing.html"></a></li>
     28 <li><a href="{@docRoot}tools/publishing/publishing.html#market">Android </a></li>
     29 <li><a href="{@docRoot}guide/topics/manifest/manifest-intro.html">The AndroidManifest.xml File</a></li>
     30 </ol>
     31 
     32 </div>
     33 </div>
     34 
     35 <p> </p>
     36 
     37 <ul>
     38 <li>   </li>
     39 <li></li>
     40 <li> </li>
     41 </ul>
     42 
     43 <p>Android  <em></em> </p>
     44 
     45 <p>Android  <code>minSdkVersion</code>  <em></em> API <a href="#minsdkversion"> API </a>
     46 
     47 <h2 id="appversioning"></h2>
     48 <p> 2 : </p>
     49 
     50 <ul>
     51 <li><code>android:versionCode</code> -   
     52 
     53 <p> </p>
     54 
     55 <p> versionCode  1   <code>android:versionCode</code>    <code>android:versionName</code> </p>
     56 </li>
     57 <li><code>android:versionName</code> -    
     58 <p> &lt;major&gt;.&lt;minor&gt;.&lt;point&gt; ID  </p>
     59 
     60 <p><code>android:versionCode</code>  <code>android:versionName</code> </p>
     61 </li>
     62 </ul>
     63 
     64 <p>  <code>&lt;manifest&gt;</code>  </p>
     65 
     66 <p><code>&lt;manifest&gt;</code>  <code>android:versionCode</code>  <code>android:versionName</code>  </p>
     67 
     68 <pre>
     69 &lt;?xml version="1.0" encoding="utf-8"?&gt;
     70 &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
     71       package="com.example.package.name"
     72       android:versionCode="2"
     73       android:versionName="1.1"&gt;
     74     &lt;application android:icon="@drawable/icon" android:label="@string/app_name"&gt;
     75         ...
     76     &lt;/application&gt;
     77 &lt;/manifest&gt;
     78 </pre>
     79 
     80 <p><code>android:versionCode</code>  .apk   2  <code>android:codeName</code>  </p>
     81 
     82 <p>Android  API  {@link android.content.pm.PackageManager#getPackageInfo(java.lang.String, int)} 
     83 method of {@link android.content.pm.PackageManager PackageManager}. </p> 
     84 
     85 <h2 id="minsdkversion"> API </h2>
     86 
     87 <p> Android  API  ID   Android  </p>
     88 
     89 <p> : </p>
     90 
     91 <ul>
     92 <li><code>android:minSdkVersion</code> - Android   
     93 <p> <code>android:minSdkVersion</code>   </p>
     94 
     95 <p> </p></li>
     96 </ul>
     97 
     98 <p> <code>&lt;uses-sdk&gt;</code>  <code>&lt;manifest&gt;</code> <code>android:minSdkVersion</code>  </p>
     99 
    100 <p><a href="{@docRoot}about/versions/android-1.1.html">Android System Image 1.1 Version Notes</a> </p>
    101