**EDIT 02/11/18**
I have subsequently discovered that the below works for me, but only because I use the BBC iPlayer radio app in alarm clock mode overnight, while charging. This has the side effect of keeping my phone unlocked all night, and in these circumstances the below method "just works". However, I have since tested with my wife's phone, which is left on charge but locked overnight. Llama is still triggering at the correct time, but in practice the play store update does not commence *until* the phone is manually unlocked (at which point you see the play store already in foreground, and updating begins immediately). I have played around with the llama options to unlock phone and turn screen on automatically, prior to issuing the intent action to update play store, but they don't seem to get past the phone unlock password - so at present this solution will only work on a phone that is not screen-locked. I will do some more digging and post another update if I come up with a more elegant solution.
************************************************ Ressurecting this old thread with a solution - I also couldn't believe that android doesn't have a built-in solution to schedule play store app updates. After a lot of fruitless googling, I finally came up with a solution that will work for both tasker & llama, using android intents. Haven't tried it with tasker but it works for me on llama, which is a free install from play store. So:,
1. install llama
2. create a new event called "scheduled app update".
3. Set a condition to run the event at your desired time (I have set it to run between 03:00 and 03:01; leave all other bits of the condition set up at default and this will cause the event to run once only, at 3am).
4. Create an action. Choose "android intent" as the action from the list of options, then configure as follows (note, all values in "quotes" below to be entered WITHOUT QUOTES):
4.1 preset: custom android intent
4.2 intent send mode: start activity
4.3 package name:
"com.android.vending"
4.4 class name: "com.google.android.finsky.activities.MainActivity"
4.5 action: "com.google.android.finsky.VIEW_MY_DOWNLOADS"
4.6 leave all other fields as default until you get to the one named extras. You then need to hit the "create new extra row" button. This brings up three columns. In the first column (key), enter "trigger_update_all"; in 2nd column, select "boolean" from the list; in 3rd column, enter "true" (all again without the quotes)
5. That is it set up. I suggest you immediately use the llama "test actions" button to check that it works ok for you (this should basically ignore your time condition and just run the event immediately, so if you have set it up correctly you should see the play store pop up, check for updates, and then auto-install any that are pending, even if like me you have auto-update disabled.
I have done a bit more config in mine (I put in a 2nd queued event to kick in 5 eeconds after play store starts, which turns off my screen - as my phone is on a stand on bedside cabinet overnight, right in my line of sight, and the play store is very bright at 3am!).
Anyway, this works for me on 6.0.1 on my faithful old galaxy note 4, and I have also set it up & tested it on my wife's galaxy 7 edge running 8.0.0 (both stock, no root).
As I said above, Tasker also supports android intents, so plugging in same intent data to tasker should probably achieve same result.
Shame on google for not implementing this in a more user friendly manner from directly within play store settings, there are many like me on a capped data plan but with unmetered overnight, who don't want ~1GB of data to be consumed by the whole household's android devices all auto-updating during metered hours
ps. I registered here just to make this post, I don't think I've joined a forum for about 5 years, cos normally I can find what I need on google without having to post a question - but this one was a doozie, google is full of people asking how to do this, but very light on solutions!! Feels nice to pay back for all the many forum answers I've silently used in the past
0 Response to "How To Schedule Updates Google Play Apps"
Post a Comment