문제

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