I’m using intents to Backup my Symfonium app through Tasker, and to be able to use the intent USER_DATA_ALL, I must have USER_DATA enabled.
I’d like to make this USER_DATA selection in the app user selectable as permanent.
Problem solved
Allow users to automate a full backup through the intents available through Tasker
Brought benefits
A more complete an automated backup in case you have to rebuild Symfonium on an existing or new device
Device type
Phone
Additional description and context
Attached is the setting in our backup screen now, that I would like to have “Stck” and be permanent, just as the settings above the one highlighted is.
Tasker’s “Send intent” action doesn’t work too well for complicated intents because it only supports three extras. This is a Tasker limitation. Symfonium already exposes what it needs to.
You can use Tasker’s “Run shell” action instead to send an intent via the ActivityManager. I’m not too familiar with doing that, so look at this Stack Overflow thread for some ideas of how to start off.
Note that you don’t need to include the adb shell portion of the command since the Tasker action already includes it. This shouldn’t need root access either.
The options in the screen are 100% irrelevant to what tasker command do … I’ll add an everything param to enable all in one as not aware of that 3 param limit.
What do you mean? None of them can be set to always checked. Either the intent tells it the app to check the option, or it isn’t included in the backup.
It was on my bucket list anyway, so I’ve spent the day putting together a giant task which supports all of the current API options, including any number of extras. I’m 95% done now, so I’ll post it tomorrow.
It’s mostly unneeded, but it does allow Tasker to control Symfonium’s backups properly. (And Media Start, which is the other option that Tasker’s “Send intent” couldn’t handle.)