How to Call a 3rd Party App's Intent?

Post your questions and help other users.

Moderator: Martin

Post Reply
User avatar
madra
Posts: 7
Joined: 10 Dec 2016 11:43
Location: The Intarwebs
Contact:

How to Call a 3rd Party App's Intent?

Post by madra » 29 Mar 2019 16:38

I use SMS Backup+ to backup my texts to Google Drive. The app has a setting to do this automatically at a set time every day. But it's been broken for years now, so I'm trying to build an Automagic Flow to do it instead.

According to the SMS Backup+ docs:
3rd party app integration
If you want to trigger backups from another app, enable 3rd party integration in Advanced Settings and send the broadcast intent com.zegoggles.smssync.BACKUP. This will work even when Auto Backup is disabled.
So I've enabled 3rd party integration in SMS Backup+ and created the barebones of a Flow, as follows:

Image

But, whenever I run it, I get the following error:
29.03.2019 16:23:54.011 [Flow3] End executing action 'Start Activity: com.zegoggles.smssync.BACKUP ' and exception No Activity found to handle Intent { act=com.zegoggles.smssync.BACKUP flg=0x10000000 }
So, is there anything else I need to do, in order for Automagic to be able to access this app's intent?

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: How to Call a 3rd Party App's Intent?

Post by Desmanto » 30 Mar 2019 01:46

You should use action "Send Broadcast" instead, as pointed out by the dev. There are 3 version of the intent, Activity, service and broadcast. Most devs now move torward the send broadcast method. AFAIK, because it doesn't expose their activity to other app and make it as a standard protocol to communicate to other app.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Post Reply