@@ -700,7 +700,8 @@ boolean expansionFilesDelivered() {
700700}
701701</pre>
702702 <p>In this case, each {@code XAPKFile} object holds the version number and file size of a known
703- expansion file and a boolean as to whether it's the main expansion file.</p>
703+ expansion file and a boolean as to whether it's the main expansion file. (See the sample
704+ application's {@code SampleDownloaderActivity} class for details.)</p>
704705 <p>If this method returns false, then the application must begin the download.</p>
705706 </li>
706707 <li>Start the download by calling the static method {@code
@@ -870,8 +871,8 @@ which describes various information about the download progress, including estim
870871current speed, overall progress, and total so you can update the download progress UI.</dd>
871872</dl>
872873<p class="note"><strong>Tip:</strong> For examples of these callbacks that update the download
873- progress UI, see the {@code SampleDownloaderActivity} in the sample app provided with the Expansion
874- Downloader package.</p>
874+ progress UI, see the {@code SampleDownloaderActivity} in the sample app provided with the
875+ APK Expansion Library package.</p>
875876
876877<p>Some public methods for the {@code IDownloaderService} interface you might find useful are:</p>
877878
@@ -1125,6 +1126,11 @@ ZipResourceFile expansionFile = new ZipResourceFile(filePathToMyZip);
11251126InputStream fileStream = expansionFile.getInputStream(pathToFileInsideZip);
11261127</pre>
11271128
1129+ <p>For more information about using this library for your expansion files, look at
1130+ the sample application's {@code SampleDownloaderActivity} class, which includes additional code to
1131+ verify the downloaded files using CRC. Beware that if you use this sample as the basis for
1132+ your own implementation, it requires that you <strong>declare the byte size of your expansion
1133+ files</strong> in the {@code xAPKS} array.</p>
11281134
11291135
11301136
0 commit comments