

execute this when the downloader must be firedįinal DownloadTask downloadTask = new DownloadTask(YourActivity.this) ĭownloadTask. tProgressStyle(ProgressDialog.STYLE_HORIZONTAL) Note: Automatic app refresh reduces app crashes and scanning issues when using Gateway mode for longer durations. Wait 10 seconds for the automatic app refresh to complete.

MProgressDialog = new ProgressDialog(YourActivity.this) For Android phones: automatic app refresh (if enabled) will take place once every 10 minutes. instantiate it within the onCreate method Backup: We recommend taking a backup of your data from the device before flashing or writing the Stock Firmware or IMEI because flashing the stock firmware or IMEI may wipe your data from the device. This is an example code: // declare the dialog as a member field of your activity QPST Flash Tool: If you wish, you can download the latest version of QPST Flash Tool from QPST Flash Tool for Windows page. This method will allow you to execute some background processes and update the UI at the same time (in this case, we'll update a progress bar). Use AsyncTask and show the download progress in a dialog The phone rebooted once and now all it says is Entry QPST Download. I was trying to get the Swapper 2 application to work. Following I will post most common ways it is up to you to decide which method is better for your app. I have a Karbonn A21, which I rooted yesterday.
