Skip to content

Commit 290684a

Browse files
committed
docs: fix expansion library package name
Change-Id: I38303b5650fd924ac25281baf4a7da51aa939394
1 parent a47d88a commit 290684a

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

docs/html/guide/market/expansion-files.jd

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ policy, which captures the expansion file names, sizes, and URLs from the licens
421421

422422
<p>To use APK expansion files with your application and provide the best user experience with
423423
minimal effort on your behalf, we recommend you use the Downloader Library that's included in the
424-
Android Market APK Expansion Library package. This library downloads your expansion files in a
424+
Google Market Apk Expansion package. This library downloads your expansion files in a
425425
background service, shows a user notification with the download status, handles network
426426
connectivity loss, resumes the download when possible, and more.</p>
427427

@@ -447,10 +447,11 @@ receives updates about the download progress.</li>
447447
download two packages from the SDK Manager and add the appropriate libraries to your
448448
application.</p>
449449

450-
<p>First, open the Android SDK Manager, expand <em>Extras</em> and download:</p>
450+
<p>First, open the <a href="{@docRoot}sdk/adding-components.html">Android SDK Manager</a>, expand
451+
<em>Extras</em> and download:</p>
451452
<ul>
452453
<li><em>Google Market Licensing package</em></li>
453-
<li><em>Google Market APK Expansion Library package</em></li>
454+
<li><em>Google Market Apk Expansion package</em></li>
454455
</ul>
455456

456457
<p>If you're using Eclipse, create a project for each library and add it to your app:</p>
@@ -498,10 +499,10 @@ Android Market. The format that you choose for the expansion files and how you r
498499
from the shared storage is a separate implementation that you should consider based on your
499500
application needs.</p>
500501

501-
<p class="note"><strong>Tip:</strong> The APK Expansion Library package includes a sample
502+
<p class="note"><strong>Tip:</strong> The Apk Expansion package includes a sample
502503
application
503504
that shows how to use the Downloader Library in an app. The sample uses a third library
504-
available in the APK Expansion Library package called the APK Expansion Zip Library. If
505+
available in the Apk Expansion package called the APK Expansion Zip Library. If
505506
you plan on
506507
using ZIP files for your expansion files, we suggest you also add the APK Expansion Zip Library to
507508
your application. For more information, see the section below
@@ -686,7 +687,7 @@ help with this process:</p>
686687
versionCode)}</li>
687688
<li>{@code doesFileExist(Context c, String fileName, long fileSize)}</li>
688689
</ul>
689-
<p>For example, the sample app provided in the APK Expansion Library package calls the
690+
<p>For example, the sample app provided in the Apk Expansion package calls the
690691
following method in the activity's {@link android.app.Activity#onCreate onCreate()} method to check
691692
whether the expansion files already exist on the device:</p>
692693
<pre>
@@ -872,7 +873,7 @@ current speed, overall progress, and total so you can update the download progre
872873
</dl>
873874
<p class="note"><strong>Tip:</strong> For examples of these callbacks that update the download
874875
progress UI, see the {@code SampleDownloaderActivity} in the sample app provided with the
875-
APK Expansion Library package.</p>
876+
Apk Expansion package.</p>
876877

877878
<p>Some public methods for the {@code IDownloaderService} interface you might find useful are:</p>
878879

@@ -1037,7 +1038,7 @@ option to specify the file suffixes that should not be compressed:</p>
10371038
</div>
10381039
</div>
10391040

1040-
<p>The Android Market APK Expansion Library package includes a library called the APK
1041+
<p>The Google Market Apk Expansion package includes a library called the APK
10411042
Expansion Zip Library (located in {@code
10421043
&lt;sdk>/extras/google/google_market_apk_expansion/zip_file/}). This is an optional library that
10431044
helps you read your expansion
@@ -1089,7 +1090,7 @@ android.content.ContentProvider} that marshals the data from the ZIP files throu
10891090
provider {@link android.net.Uri} in order to provide file access for certain Android APIs that
10901091
expect {@link android.net.Uri} access to media files.
10911092
<p>The sample application available in the
1092-
APK Expansion Library package demonstrates a scenario in which this class is useful
1093+
Apk Expansion package demonstrates a scenario in which this class is useful
10931094
to specify a video with {@link android.widget.VideoView#setVideoURI
10941095
VideoView.setVideoURI()}. See the sample app's class {@code SampleZipfileProvider} for an
10951096
example of how to extend this class to use in your application.</p></dd>
@@ -1226,7 +1227,7 @@ the Android system nor Android Market perform actual patching between your main
12261227
files. Your application code must perform any necessary patches itself.</p>
12271228

12281229
<p>If you use ZIP files as your expansion files, the <a href="#ZipLib">APK Expansion Zip
1229-
Library</a> that's included with the APK Expansion Library package includes the ability to merge
1230+
Library</a> that's included with the Apk Expansion package includes the ability to merge
12301231
your
12311232
patch file with the main expansion file.</p>
12321233

@@ -1249,7 +1250,7 @@ file and one patch expansion file. During an update to a file, Android Market de
12491250
previous version (and so must your application when performing manual updates).</li>
12501251
<li>When adding a patch expansion file, the Android system does not actually patch your
12511252
application or main expansion file. You must design your application to support the patch data.
1252-
However, the APK Expansion Library package includes a library for using ZIP files
1253+
However, the Apk Expansion package includes a library for using ZIP files
12531254
as expansion files, which merges the data from the patch file into the main expansion file so
12541255
you can easily read all the expansion file data.</li>
12551256
</ul>

0 commit comments

Comments
 (0)