質問

While running APK expansion file sample I just skiped checking CRC32 to avoide crc bug algorithm and its working very fine!! But while XAPK File validation shows in correct downloaded data information 99% !!, how to avoid that and view full 100% by hard-coding?

enter image description here

enter image description here

役に立ちましたか?

解決

It's not a best sloution but I got the solution by hard coding the ProgressBar mPB; TextView mProgressPercent; TextView mProgressFraction; in DownloaderActivity onPostExecute method of validationAsynctask

    mPB.setMax(10);
    mPB.setProgress(100);
    mProgressPercent.setText(100 + "%");
    mProgressFraction.setText("Download Completed Successfully");
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top