Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.mobile.android    |    Discussion about Android-based devices    |    236,147 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 234,624 of 236,147    |
|    Marion to Marion    |
|    Re: Tutorial: How to create your first a    |
|    01 Nov 25 23:11:20    |
      From: mariond@facts.com              Marion wrote:       > Voila!       > You've just performed your very first automation with Automate on Android.              I managed to create a shortcut to run that "hello world" using the widget       capability (yes, I said I created a shortcut, using the widget capability).              1. Long-press on the Nova home screen.       2. Tap Widgets.       3. Scroll to the Automate app in the listing.       4. Select Flow shortcut (not Flow widget 1x1).       5. Drag Flow shortcut to home screen.       6. Automate opens a list of your flows.       7. Select your target flow (example: Test Toast).       8. Confirm by pressing the "OK" link.       9. A plain shortcut icon appears on home screen.       10. Tap the shortcut to run the flow.              When I tap that shortcut, Hello World appears on the screen.       Voila!              Note: For those who don't have Nova, I did try multiple methods to create       the shortcut using the same steps as before, but the problem is the       activities we need aren't exported. I also tried a method from within       Automate but that failed too because what I needed wasn't available.              Apparently in older versions, com.llamalab.automate.IntentActivity was       exported, but I can't find it in the current version.              From the previous flow, we need to get its URI from within Automate.        Open that flow.        Tap the Flow beginning block.        In its properties, note the Flow URI, which looks like this:        content://com.llamalab.automate/flow/###               Let's assume that previous Automate flow URI was:        content://com.llamalab.automate.provider/flows/28/statements/1        Which we can clean up to fit the desired formatting of:        content://com.llamalab.automate.provider/flows/28              This is what I tried in Shortcut Maker (v4.2.2) but the Intent Activity       doesn't exist anymore in later versions of Automate so I gave up on this.        Label: Test Toast        Package: com.llamalab.automate        Class: com.llamalab.automate.IntentActivity        Data URI: content://com.llamalab.automate.provider/flows/28        Action: (leave blank)              I also tried the Automate internal method without using external tools.        Add the App shortcut install block        Tap + -> Apps -> App shortcut install        A new block appears named "Install shortcut"               Configure the App shortcut install block        Tap the block        Label: Test Toast        Tap the "Pick app activity" button        Find and select "Automate"        From Automate activities, pick "IntentActivity"        (This fills Package and Class automatically)        Data URI: paste the previously built flow URI:        content://com.llamalab.automate.provider/flows/28        Leave Action empty        Save              It was absolutely miserable creating that shortcut, because all the methods       that SHOULD have worked in Automate or using Shortcut Maker (v4.2.2),       failed. If it's possible from within Automate, I can't figure out how.              Luckily, it was trivial to do with Nova launcher.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca