Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Please have a look at this sensation:</p> <p>WORKS FINE:</p> <pre><code>while(true) { long czas = android.os.SystemClock.uptimeMillis(); Storage.executeCmd("cp /data/app/com.rerware.android.MyBackupRoot-1.apk /mnt/sdcard/allbackup/backup/aplikacja"+String.valueOf(czas)+".apk", null); } </code></pre> <p>WORKS FINE:</p> <pre><code>while(true) { Message msg = new Message(); // customadapter.notifydatachanged() in main activity msg.arg1 = 1; mHandler.sendMessage(msg); } </code></pre> <p>CRASH AFTER 2 MIN (sleep = 100)</p> <pre><code>while(true) { long czas = android.os.SystemClock.uptimeMillis(); Storage.executeCmd("cp /data/app/com.rerware.android.MyBackupRoot-1.apk /mnt/sdcard/allbackup/backup/aplikacja"+String.valueOf(czas)+".apk", null); sleep(100); Message msg = new Message(); // customadapter.notifydatachanged in main activity msg.arg1 = 1; mHandler.sendMessage(msg); Log.d("ods test", "ods test"); sleep(100); } </code></pre> <p>CRASH AFTER 25 MIN (sleep = 200)</p> <pre><code>while(true) { long czas = android.os.SystemClock.uptimeMillis(); Storage.executeCmd("cp /data/app/com.rerware.android.MyBackupRoot-1.apk /mnt/sdcard/allbackup/backup/aplikacja"+String.valueOf(czas)+".apk", null); sleep(200); Message msg = new Message(); // customadapter.notifydatachanged in main activity msg.arg1 = 1; mHandler.sendMessage(msg); Log.d("ods test", "ods test"); sleep(200); } </code></pre> <p>one question WHAAAAAAAAAT? There has to be processes conflict... becouse cp command create new process in ps list</p> <p>PS: 1000ms delay seems WORKS FINE (tested 2h)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload