Reply to post

Hot!Add from Google Drive doesn't save if screen turns off.

Author
tonybrix
User
  • Total Posts : 0
  • Reward points: 0
  • Joined: 2017/02/20 11:34:49
  • Status: offline
2020/12/11 12:04:11 (permalink)

Add from Google Drive doesn't save if screen turns off.

After clicking "Add from Google Drive" the progress bar shows up but if the screen turns off before it is finished the articles are lost. Even if it doesn't finish clicking "Add from Google Drive" again should refetch the articles.

4 Replies Related Threads

    Admin
    Administrator
    • Total Posts : 275
    • Reward points: 0
    • Joined: 2010/11/22 00:00:00
    • Location: USA
    • Status: offline
    Re: Add from Google Drive doesn't save if screen turns off. 2020/12/11 12:38:51 (permalink)
    Thank you, will look into it.
    Admin
    Administrator
    • Total Posts : 275
    • Reward points: 0
    • Joined: 2010/11/22 00:00:00
    • Location: USA
    • Status: offline
    Re: Add from Google Drive doesn't save if screen turns off. 2020/12/15 16:04:11 (permalink)
    I double checked, and the app is actually trying to continue download after you navigate away from it, or turn off the screen. However what I forgot to do was to set a "wake lock", to tell Android system to keep the app running, do not stop it when it's in the background. I added wake locks now, the change will be in version 22.4.10 or any newer. Even now though, you could try to press e.g. the Home button while a long sync works, and then pull down notifications - you'll see the text flashing in the @Voice notification telling that it downloads subsequent articles, and in the end they do get added to the list. Unless the system stops the app...
     
    It may still happen on many devices, where the manufacturers modify Android system to kill or put to sleep apps that run in the background or with the screen off, to "save battery". The most often complaint and symptom of this is when you try to listen to a long text with screen off - many devices will then kill @Voice process or stop it, and speech stops. The same problem could occur here with a sync running in the background or with the screen off. If you or anyone else runs into this problem, please visit https://dontkillmyapp.com web site, press there on the device type you have, read and implement the settings recommended there.
     
    Greg
    tonybrix
    User
    • Total Posts : 0
    • Reward points: 0
    • Joined: 2017/02/20 11:34:49
    • Status: offline
    Re: Add from Google Drive doesn't save if screen turns off. 2020/12/15 18:44:57 (permalink)
    Thank you! Would it work to make it load one at a time and add it to the list then delete it from google drive instead of all at once. That way if it fails clicking Add from Google Drive will just pick back up where it left off. Or would that make it a lot slower?
    Admin
    Administrator
    • Total Posts : 275
    • Reward points: 0
    • Joined: 2010/11/22 00:00:00
    • Location: USA
    • Status: offline
    Re: Add from Google Drive doesn't save if screen turns off. 2020/12/15 19:23:24 (permalink)
    Currently it will work as before, just should work better when you turn off the screen (or it turns off by itself). To delete each copied file, I'd have to modify the app code again.
    Jump to:
    © 2021 APG vNext Commercial Version 5.1