How can perform a specific app action in Automate LLamaLab on Android ?
901 views
Skip to first unread message
Johnny Quest
unread,
Mar 2, 2022, 3:27:52 PM3/2/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Automate
I'm using a smart home app. First button opens a gate, second opens a gate. How can I click one of them? Or know which activity class is responsible for that?
Henrik "The Developer" Lindqvist
unread,
Mar 3, 2022, 5:46:23 AM3/3/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Automate
If you for the App start block doesn't seem to list any activity class that seems related, a way to display it as you're using the device is to make s simple test flow with just an App in foreground block and a Toast show block that displaying the foreground activity class as you navigate around.
Once you've found the activity class, a flow the clock the button would be something like
Flow beginning
App start: use the "pick activity" button then choose the activity class you find, within the app in question
Delay
Interact: use the "record interaction" button to generate the XPath for the button